{"action":"created","comment":{"url":"https://api.github.com/repos/NSLS-II/metadatastore/pulls/comments/74838245","id":74838245,"diff_hunk":"@@ -503,12 +504,28 @@ def test_double_run_stop():\n     with pytest.raises(RuntimeError):\n         mdsc.insert_run_stop(run_start_uid, ttime.time(),\n                              uid=str(uuid.uuid4()))\n+@pytest.fixture\n+def prep_header():\n+    testuid = str(uuid.uuid4())\n+    hdr = {'time': time.time(), 'uid': testuid,\n+           'tag': 'find_last_test_tag'}\n+    return hdr\n \n \n def test_find_last_for_smoke():\n     last, = mdsc.find_last()\n \n \n+def test_find_last(prep_header):","path":"metadatastore/test/test_commands.py","position":24,"original_position":24,"commit_id":"df1f49d2426683498eb89849f83d6cb0aded953e","original_commit_id":"df1f49d2426683498eb89849f83d6cb0aded953e","user":{"login":"arkilic","id":5132155,"avatar_url":"https://avatars.githubusercontent.com/u/5132155?v=3","gravatar_id":"","url":"https://api.github.com/users/arkilic","html_url":"https://github.com/arkilic","followers_url":"https://api.github.com/users/arkilic/followers","following_url":"https://api.github.com/users/arkilic/following{/other_user}","gists_url":"https://api.github.com/users/arkilic/gists{/gist_id}","starred_url":"https://api.github.com/users/arkilic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arkilic/subscriptions","organizations_url":"https://api.github.com/users/arkilic/orgs","repos_url":"https://api.github.com/users/arkilic/repos","events_url":"https://api.github.com/users/arkilic/events{/privacy}","received_events_url":"https://api.github.com/users/arkilic/received_events","type":"User","site_admin":false},"body":"Then shouldn't `test_insert_run_start()` and all other tests also take in the `mds_all` fixture?","created_at":"2016-08-15T21:25:32Z","updated_at":"2016-08-15T21:25:32Z","html_url":"https://github.com/NSLS-II/metadatastore/pull/241#discussion_r74838245","pull_request_url":"https://api.github.com/repos/NSLS-II/metadatastore/pulls/241","_links":{"self":{"href":"https://api.github.com/repos/NSLS-II/metadatastore/pulls/comments/74838245"},"html":{"href":"https://github.com/NSLS-II/metadatastore/pull/241#discussion_r74838245"},"pull_request":{"href":"https://api.github.com/repos/NSLS-II/metadatastore/pulls/241"}}},"pull_request":{"url":"https://api.github.com/repos/NSLS-II/metadatastore/pulls/241","id":80665649,"html_url":"https://github.com/NSLS-II/metadatastore/pull/241","diff_url":"https://github.com/NSLS-II/metadatastore/pull/241.diff","patch_url":"https://github.com/NSLS-II/metadatastore/pull/241.patch","issue_url":"https://api.github.com/repos/NSLS-II/metadatastore/issues/241","number":241,"state":"open","locked":false,"title":"TST:Simple tests for find_last() and insert()","user":{"login":"arkilic","id":5132155,"avatar_url":"https://avatars.githubusercontent.com/u/5132155?v=3","gravatar_id":"","url":"https://api.github.com/users/arkilic","html_url":"https://github.com/arkilic","followers_url":"https://api.github.com/users/arkilic/followers","following_url":"https://api.github.com/users/arkilic/following{/other_user}","gists_url":"https://api.github.com/users/arkilic/gists{/gist_id}","starred_url":"https://api.github.com/users/arkilic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arkilic/subscriptions","organizations_url":"https://api.github.com/users/arkilic/orgs","repos_url":"https://api.github.com/users/arkilic/repos","events_url":"https://api.github.com/users/arkilic/events{/privacy}","received_events_url":"https://api.github.com/users/arkilic/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-09T17:57:11Z","updated_at":"2016-08-15T21:25:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"78ace58b520fa46eeb3e8c6344e3c5745333eeff","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/NSLS-II/metadatastore/pulls/241/commits","review_comments_url":"https://api.github.com/repos/NSLS-II/metadatastore/pulls/241/comments","review_comment_url":"https://api.github.com/repos/NSLS-II/metadatastore/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NSLS-II/metadatastore/issues/241/comments","statuses_url":"https://api.github.com/repos/NSLS-II/metadatastore/statuses/df1f49d2426683498eb89849f83d6cb0aded953e","head":{"label":"arkilic:listert_tests","ref":"listert_tests","sha":"df1f49d2426683498eb89849f83d6cb0aded953e","user":{"login":"arkilic","id":5132155,"avatar_url":"https://avatars.githubusercontent.com/u/5132155?v=3","gravatar_id":"","url":"https://api.github.com/users/arkilic","html_url":"https://github.com/arkilic","followers_url":"https://api.github.com/users/arkilic/followers","following_url":"https://api.github.com/users/arkilic/following{/other_user}","gists_url":"https://api.github.com/users/arkilic/gists{/gist_id}","starred_url":"https://api.github.com/users/arkilic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arkilic/subscriptions","organizations_url":"https://api.github.com/users/arkilic/orgs","repos_url":"https://api.github.com/users/arkilic/repos","events_url":"https://api.github.com/users/arkilic/events{/privacy}","received_events_url":"https://api.github.com/users/arkilic/received_events","type":"User","site_admin":false},"repo":{"id":43825683,"name":"metadatastore","full_name":"arkilic/metadatastore","owner":{"login":"arkilic","id":5132155,"avatar_url":"https://avatars.githubusercontent.com/u/5132155?v=3","gravatar_id":"","url":"https://api.github.com/users/arkilic","html_url":"https://github.com/arkilic","followers_url":"https://api.github.com/users/arkilic/followers","following_url":"https://api.github.com/users/arkilic/following{/other_user}","gists_url":"https://api.github.com/users/arkilic/gists{/gist_id}","starred_url":"https://api.github.com/users/arkilic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arkilic/subscriptions","organizations_url":"https://api.github.com/users/arkilic/orgs","repos_url":"https://api.github.com/users/arkilic/repos","events_url":"https://api.github.com/users/arkilic/events{/privacy}","received_events_url":"https://api.github.com/users/arkilic/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arkilic/metadatastore","description":"MongoDB-backed metadata storage","fork":true,"url":"https://api.github.com/repos/arkilic/metadatastore","forks_url":"https://api.github.com/repos/arkilic/metadatastore/forks","keys_url":"https://api.github.com/repos/arkilic/metadatastore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arkilic/metadatastore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arkilic/metadatastore/teams","hooks_url":"https://api.github.com/repos/arkilic/metadatastore/hooks","issue_events_url":"https://api.github.com/repos/arkilic/metadatastore/issues/events{/number}","events_url":"https://api.github.com/repos/arkilic/metadatastore/events","assignees_url":"https://api.github.com/repos/arkilic/metadatastore/assignees{/user}","branches_url":"https://api.github.com/repos/arkilic/metadatastore/branches{/branch}","tags_url":"https://api.github.com/repos/arkilic/metadatastore/tags","blobs_url":"https://api.github.com/repos/arkilic/metadatastore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arkilic/metadatastore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arkilic/metadatastore/git/refs{/sha}","trees_url":"https://api.github.com/repos/arkilic/metadatastore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arkilic/metadatastore/statuses/{sha}","languages_url":"https://api.github.com/repos/arkilic/metadatastore/languages","stargazers_url":"https://api.github.com/repos/arkilic/metadatastore/stargazers","contributors_url":"https://api.github.com/repos/arkilic/metadatastore/contributors","subscribers_url":"https://api.github.com/repos/arkilic/metadatastore/subscribers","subscription_url":"https://api.github.com/repos/arkilic/metadatastore/subscription","commits_url":"https://api.github.com/repos/arkilic/metadatastore/commits{/sha}","git_commits_url":"https://api.github.com/repos/arkilic/metadatastore/git/commits{/sha}","comments_url":"https://api.github.com/repos/arkilic/metadatastore/comments{/number}","issue_comment_url":"https://api.github.com/repos/arkilic/metadatastore/issues/comments{/number}","contents_url":"https://api.github.com/repos/arkilic/metadatastore/contents/{+path}","compare_url":"https://api.github.com/repos/arkilic/metadatastore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arkilic/metadatastore/merges","archive_url":"https://api.github.com/repos/arkilic/metadatastore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arkilic/metadatastore/downloads","issues_url":"https://api.github.com/repos/arkilic/metadatastore/issues{/number}","pulls_url":"https://api.github.com/repos/arkilic/metadatastore/pulls{/number}","milestones_url":"https://api.github.com/repos/arkilic/metadatastore/milestones{/number}","notifications_url":"https://api.github.com/repos/arkilic/metadatastore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arkilic/metadatastore/labels{/name}","releases_url":"https://api.github.com/repos/arkilic/metadatastore/releases{/id}","deployments_url":"https://api.github.com/repos/arkilic/metadatastore/deployments","created_at":"2015-10-07T15:31:24Z","updated_at":"2016-05-25T16:33:32Z","pushed_at":"2016-08-15T13:57:06Z","git_url":"git://github.com/arkilic/metadatastore.git","ssh_url":"git@github.com:arkilic/metadatastore.git","clone_url":"https://github.com/arkilic/metadatastore.git","svn_url":"https://github.com/arkilic/metadatastore","homepage":"","size":1663,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"NSLS-II:master","ref":"master","sha":"317c6d2715a932d872fd95ab5aa8ebb27c825669","user":{"login":"NSLS-II","id":8700262,"avatar_url":"https://avatars.githubusercontent.com/u/8700262?v=3","gravatar_id":"","url":"https://api.github.com/users/NSLS-II","html_url":"https://github.com/NSLS-II","followers_url":"https://api.github.com/users/NSLS-II/followers","following_url":"https://api.github.com/users/NSLS-II/following{/other_user}","gists_url":"https://api.github.com/users/NSLS-II/gists{/gist_id}","starred_url":"https://api.github.com/users/NSLS-II/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NSLS-II/subscriptions","organizations_url":"https://api.github.com/users/NSLS-II/orgs","repos_url":"https://api.github.com/users/NSLS-II/repos","events_url":"https://api.github.com/users/NSLS-II/events{/privacy}","received_events_url":"https://api.github.com/users/NSLS-II/received_events","type":"Organization","site_admin":false},"repo":{"id":20021829,"name":"metadatastore","full_name":"NSLS-II/metadatastore","owner":{"login":"NSLS-II","id":8700262,"avatar_url":"https://avatars.githubusercontent.com/u/8700262?v=3","gravatar_id":"","url":"https://api.github.com/users/NSLS-II","html_url":"https://github.com/NSLS-II","followers_url":"https://api.github.com/users/NSLS-II/followers","following_url":"https://api.github.com/users/NSLS-II/following{/other_user}","gists_url":"https://api.github.com/users/NSLS-II/gists{/gist_id}","starred_url":"https://api.github.com/users/NSLS-II/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NSLS-II/subscriptions","organizations_url":"https://api.github.com/users/NSLS-II/orgs","repos_url":"https://api.github.com/users/NSLS-II/repos","events_url":"https://api.github.com/users/NSLS-II/events{/privacy}","received_events_url":"https://api.github.com/users/NSLS-II/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NSLS-II/metadatastore","description":"MongoDB-backed metadata storage","fork":false,"url":"https://api.github.com/repos/NSLS-II/metadatastore","forks_url":"https://api.github.com/repos/NSLS-II/metadatastore/forks","keys_url":"https://api.github.com/repos/NSLS-II/metadatastore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NSLS-II/metadatastore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NSLS-II/metadatastore/teams","hooks_url":"https://api.github.com/repos/NSLS-II/metadatastore/hooks","issue_events_url":"https://api.github.com/repos/NSLS-II/metadatastore/issues/events{/number}","events_url":"https://api.github.com/repos/NSLS-II/metadatastore/events","assignees_url":"https://api.github.com/repos/NSLS-II/metadatastore/assignees{/user}","branches_url":"https://api.github.com/repos/NSLS-II/metadatastore/branches{/branch}","tags_url":"https://api.github.com/repos/NSLS-II/metadatastore/tags","blobs_url":"https://api.github.com/repos/NSLS-II/metadatastore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NSLS-II/metadatastore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NSLS-II/metadatastore/git/refs{/sha}","trees_url":"https://api.github.com/repos/NSLS-II/metadatastore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NSLS-II/metadatastore/statuses/{sha}","languages_url":"https://api.github.com/repos/NSLS-II/metadatastore/languages","stargazers_url":"https://api.github.com/repos/NSLS-II/metadatastore/stargazers","contributors_url":"https://api.github.com/repos/NSLS-II/metadatastore/contributors","subscribers_url":"https://api.github.com/repos/NSLS-II/metadatastore/subscribers","subscription_url":"https://api.github.com/repos/NSLS-II/metadatastore/subscription","commits_url":"https://api.github.com/repos/NSLS-II/metadatastore/commits{/sha}","git_commits_url":"https://api.github.com/repos/NSLS-II/metadatastore/git/commits{/sha}","comments_url":"https://api.github.com/repos/NSLS-II/metadatastore/comments{/number}","issue_comment_url":"https://api.github.com/repos/NSLS-II/metadatastore/issues/comments{/number}","contents_url":"https://api.github.com/repos/NSLS-II/metadatastore/contents/{+path}","compare_url":"https://api.github.com/repos/NSLS-II/metadatastore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NSLS-II/metadatastore/merges","archive_url":"https://api.github.com/repos/NSLS-II/metadatastore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NSLS-II/metadatastore/downloads","issues_url":"https://api.github.com/repos/NSLS-II/metadatastore/issues{/number}","pulls_url":"https://api.github.com/repos/NSLS-II/metadatastore/pulls{/number}","milestones_url":"https://api.github.com/repos/NSLS-II/metadatastore/milestones{/number}","notifications_url":"https://api.github.com/repos/NSLS-II/metadatastore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NSLS-II/metadatastore/labels{/name}","releases_url":"https://api.github.com/repos/NSLS-II/metadatastore/releases{/id}","deployments_url":"https://api.github.com/repos/NSLS-II/metadatastore/deployments","created_at":"2014-05-21T13:17:44Z","updated_at":"2016-01-13T20:08:10Z","pushed_at":"2016-08-15T13:57:56Z","git_url":"git://github.com/NSLS-II/metadatastore.git","ssh_url":"git@github.com:NSLS-II/metadatastore.git","clone_url":"https://github.com/NSLS-II/metadatastore.git","svn_url":"https://github.com/NSLS-II/metadatastore","homepage":"","size":1871,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":10,"forks":13,"open_issues":10,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NSLS-II/metadatastore/pulls/241"},"html":{"href":"https://github.com/NSLS-II/metadatastore/pull/241"},"issue":{"href":"https://api.github.com/repos/NSLS-II/metadatastore/issues/241"},"comments":{"href":"https://api.github.com/repos/NSLS-II/metadatastore/issues/241/comments"},"review_comments":{"href":"https://api.github.com/repos/NSLS-II/metadatastore/pulls/241/comments"},"review_comment":{"href":"https://api.github.com/repos/NSLS-II/metadatastore/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NSLS-II/metadatastore/pulls/241/commits"},"statuses":{"href":"https://api.github.com/repos/NSLS-II/metadatastore/statuses/df1f49d2426683498eb89849f83d6cb0aded953e"}}}}
{"actor":{"display_login":"arkilic"}}