{"action":"created","comment":{"url":"https://api.github.com/repos/praekelt/casepro/pulls/comments/74748826","id":74748826,"diff_hunk":"@@ -291,6 +292,38 @@ def test_get_all(self):\n         self.assertEqual(set(Case.get_closed(self.unicef)), {case2})\n         self.assertEqual(set(Case.get_closed(self.unicef, user=self.user1, label=self.pregnancy)), {case2})\n \n+    def test_get_all_passed_response_time(self):\n+        bob = self.create_contact(self.unicef, 'C-002', \"Bob\")\n+        cat = self.create_contact(self.unicef, 'C-003', \"Cat\")\n+        nic = self.create_contact(self.nyaruka, 'C-104', \"Nic\")\n+\n+        msg1 = self.create_message(self.unicef, 123, self.ann, \"Hello 1\", [self.aids])\n+        msg2 = self.create_message(self.unicef, 234, bob, \"Hello 2\", [self.aids, self.pregnancy])\n+        msg3 = self.create_message(self.unicef, 345, cat, \"Hello 3\", [self.pregnancy])\n+        msg4 = self.create_message(self.nyaruka, 456, nic, \"Hello 4\", [self.code])","path":"casepro/cases/tests.py","position":null,"original_position":20,"commit_id":"927623d3c73f6e767d992bd63729b28eb5f52623","original_commit_id":"4b1ff1106741c0747b24b0d5ab62515cc76f5835","user":{"login":"jpaidoussi","id":3963913,"avatar_url":"https://avatars.githubusercontent.com/u/3963913?v=3","gravatar_id":"","url":"https://api.github.com/users/jpaidoussi","html_url":"https://github.com/jpaidoussi","followers_url":"https://api.github.com/users/jpaidoussi/followers","following_url":"https://api.github.com/users/jpaidoussi/following{/other_user}","gists_url":"https://api.github.com/users/jpaidoussi/gists{/gist_id}","starred_url":"https://api.github.com/users/jpaidoussi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpaidoussi/subscriptions","organizations_url":"https://api.github.com/users/jpaidoussi/orgs","repos_url":"https://api.github.com/users/jpaidoussi/repos","events_url":"https://api.github.com/users/jpaidoussi/events{/privacy}","received_events_url":"https://api.github.com/users/jpaidoussi/received_events","type":"User","site_admin":false},"body":"You are right, I removed the cases they were reference from but missed them. Thanks","created_at":"2016-08-15T11:23:21Z","updated_at":"2016-08-15T11:23:21Z","html_url":"https://github.com/praekelt/casepro/pull/80#discussion_r74748826","pull_request_url":"https://api.github.com/repos/praekelt/casepro/pulls/80","_links":{"self":{"href":"https://api.github.com/repos/praekelt/casepro/pulls/comments/74748826"},"html":{"href":"https://github.com/praekelt/casepro/pull/80#discussion_r74748826"},"pull_request":{"href":"https://api.github.com/repos/praekelt/casepro/pulls/80"}}},"pull_request":{"url":"https://api.github.com/repos/praekelt/casepro/pulls/80","id":81298484,"html_url":"https://github.com/praekelt/casepro/pull/80","diff_url":"https://github.com/praekelt/casepro/pull/80.diff","patch_url":"https://github.com/praekelt/casepro/pull/80.patch","issue_url":"https://api.github.com/repos/praekelt/casepro/issues/80","number":80,"state":"open","locked":false,"title":"Feature/issue 73 automatically reassign case after timeout","user":{"login":"jpaidoussi","id":3963913,"avatar_url":"https://avatars.githubusercontent.com/u/3963913?v=3","gravatar_id":"","url":"https://api.github.com/users/jpaidoussi","html_url":"https://github.com/jpaidoussi","followers_url":"https://api.github.com/users/jpaidoussi/followers","following_url":"https://api.github.com/users/jpaidoussi/following{/other_user}","gists_url":"https://api.github.com/users/jpaidoussi/gists{/gist_id}","starred_url":"https://api.github.com/users/jpaidoussi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpaidoussi/subscriptions","organizations_url":"https://api.github.com/users/jpaidoussi/orgs","repos_url":"https://api.github.com/users/jpaidoussi/repos","events_url":"https://api.github.com/users/jpaidoussi/events{/privacy}","received_events_url":"https://api.github.com/users/jpaidoussi/received_events","type":"User","site_admin":false},"body":"As detailed in #73 this creates a periodic task (every 60 minutes) that looks for cases that are still open after a set amount of time and re-assigns them back to their previous assignee. ","created_at":"2016-08-15T11:08:30Z","updated_at":"2016-08-15T11:23:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"461b912165de3316b0b58ab9523de594d8451ccb","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/praekelt/casepro/pulls/80/commits","review_comments_url":"https://api.github.com/repos/praekelt/casepro/pulls/80/comments","review_comment_url":"https://api.github.com/repos/praekelt/casepro/pulls/comments{/number}","comments_url":"https://api.github.com/repos/praekelt/casepro/issues/80/comments","statuses_url":"https://api.github.com/repos/praekelt/casepro/statuses/927623d3c73f6e767d992bd63729b28eb5f52623","head":{"label":"praekelt:feature/issue-73-automatically-reassign-case-after-timeout","ref":"feature/issue-73-automatically-reassign-case-after-timeout","sha":"927623d3c73f6e767d992bd63729b28eb5f52623","user":{"login":"praekelt","id":81810,"avatar_url":"https://avatars.githubusercontent.com/u/81810?v=3","gravatar_id":"","url":"https://api.github.com/users/praekelt","html_url":"https://github.com/praekelt","followers_url":"https://api.github.com/users/praekelt/followers","following_url":"https://api.github.com/users/praekelt/following{/other_user}","gists_url":"https://api.github.com/users/praekelt/gists{/gist_id}","starred_url":"https://api.github.com/users/praekelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praekelt/subscriptions","organizations_url":"https://api.github.com/users/praekelt/orgs","repos_url":"https://api.github.com/users/praekelt/repos","events_url":"https://api.github.com/users/praekelt/events{/privacy}","received_events_url":"https://api.github.com/users/praekelt/received_events","type":"Organization","site_admin":false},"repo":{"id":60780667,"name":"casepro","full_name":"praekelt/casepro","owner":{"login":"praekelt","id":81810,"avatar_url":"https://avatars.githubusercontent.com/u/81810?v=3","gravatar_id":"","url":"https://api.github.com/users/praekelt","html_url":"https://github.com/praekelt","followers_url":"https://api.github.com/users/praekelt/followers","following_url":"https://api.github.com/users/praekelt/following{/other_user}","gists_url":"https://api.github.com/users/praekelt/gists{/gist_id}","starred_url":"https://api.github.com/users/praekelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praekelt/subscriptions","organizations_url":"https://api.github.com/users/praekelt/orgs","repos_url":"https://api.github.com/users/praekelt/repos","events_url":"https://api.github.com/users/praekelt/events{/privacy}","received_events_url":"https://api.github.com/users/praekelt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/praekelt/casepro","description":"Case management dashboard for RapidPro","fork":true,"url":"https://api.github.com/repos/praekelt/casepro","forks_url":"https://api.github.com/repos/praekelt/casepro/forks","keys_url":"https://api.github.com/repos/praekelt/casepro/keys{/key_id}","collaborators_url":"https://api.github.com/repos/praekelt/casepro/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/praekelt/casepro/teams","hooks_url":"https://api.github.com/repos/praekelt/casepro/hooks","issue_events_url":"https://api.github.com/repos/praekelt/casepro/issues/events{/number}","events_url":"https://api.github.com/repos/praekelt/casepro/events","assignees_url":"https://api.github.com/repos/praekelt/casepro/assignees{/user}","branches_url":"https://api.github.com/repos/praekelt/casepro/branches{/branch}","tags_url":"https://api.github.com/repos/praekelt/casepro/tags","blobs_url":"https://api.github.com/repos/praekelt/casepro/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/praekelt/casepro/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/praekelt/casepro/git/refs{/sha}","trees_url":"https://api.github.com/repos/praekelt/casepro/git/trees{/sha}","statuses_url":"https://api.github.com/repos/praekelt/casepro/statuses/{sha}","languages_url":"https://api.github.com/repos/praekelt/casepro/languages","stargazers_url":"https://api.github.com/repos/praekelt/casepro/stargazers","contributors_url":"https://api.github.com/repos/praekelt/casepro/contributors","subscribers_url":"https://api.github.com/repos/praekelt/casepro/subscribers","subscription_url":"https://api.github.com/repos/praekelt/casepro/subscription","commits_url":"https://api.github.com/repos/praekelt/casepro/commits{/sha}","git_commits_url":"https://api.github.com/repos/praekelt/casepro/git/commits{/sha}","comments_url":"https://api.github.com/repos/praekelt/casepro/comments{/number}","issue_comment_url":"https://api.github.com/repos/praekelt/casepro/issues/comments{/number}","contents_url":"https://api.github.com/repos/praekelt/casepro/contents/{+path}","compare_url":"https://api.github.com/repos/praekelt/casepro/compare/{base}...{head}","merges_url":"https://api.github.com/repos/praekelt/casepro/merges","archive_url":"https://api.github.com/repos/praekelt/casepro/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/praekelt/casepro/downloads","issues_url":"https://api.github.com/repos/praekelt/casepro/issues{/number}","pulls_url":"https://api.github.com/repos/praekelt/casepro/pulls{/number}","milestones_url":"https://api.github.com/repos/praekelt/casepro/milestones{/number}","notifications_url":"https://api.github.com/repos/praekelt/casepro/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/praekelt/casepro/labels{/name}","releases_url":"https://api.github.com/repos/praekelt/casepro/releases{/id}","deployments_url":"https://api.github.com/repos/praekelt/casepro/deployments","created_at":"2016-06-09T14:22:42Z","updated_at":"2016-06-09T14:25:12Z","pushed_at":"2016-08-15T11:22:47Z","git_url":"git://github.com/praekelt/casepro.git","ssh_url":"git@github.com:praekelt/casepro.git","clone_url":"https://github.com/praekelt/casepro.git","svn_url":"https://github.com/praekelt/casepro","homepage":"","size":3294,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":0,"default_branch":"develop"}},"base":{"label":"praekelt:EPIC-OPENHELPD-18","ref":"EPIC-OPENHELPD-18","sha":"c89534fa9e3ad2f53810b97b2b3a386f9aa67b22","user":{"login":"praekelt","id":81810,"avatar_url":"https://avatars.githubusercontent.com/u/81810?v=3","gravatar_id":"","url":"https://api.github.com/users/praekelt","html_url":"https://github.com/praekelt","followers_url":"https://api.github.com/users/praekelt/followers","following_url":"https://api.github.com/users/praekelt/following{/other_user}","gists_url":"https://api.github.com/users/praekelt/gists{/gist_id}","starred_url":"https://api.github.com/users/praekelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praekelt/subscriptions","organizations_url":"https://api.github.com/users/praekelt/orgs","repos_url":"https://api.github.com/users/praekelt/repos","events_url":"https://api.github.com/users/praekelt/events{/privacy}","received_events_url":"https://api.github.com/users/praekelt/received_events","type":"Organization","site_admin":false},"repo":{"id":60780667,"name":"casepro","full_name":"praekelt/casepro","owner":{"login":"praekelt","id":81810,"avatar_url":"https://avatars.githubusercontent.com/u/81810?v=3","gravatar_id":"","url":"https://api.github.com/users/praekelt","html_url":"https://github.com/praekelt","followers_url":"https://api.github.com/users/praekelt/followers","following_url":"https://api.github.com/users/praekelt/following{/other_user}","gists_url":"https://api.github.com/users/praekelt/gists{/gist_id}","starred_url":"https://api.github.com/users/praekelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praekelt/subscriptions","organizations_url":"https://api.github.com/users/praekelt/orgs","repos_url":"https://api.github.com/users/praekelt/repos","events_url":"https://api.github.com/users/praekelt/events{/privacy}","received_events_url":"https://api.github.com/users/praekelt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/praekelt/casepro","description":"Case management dashboard for RapidPro","fork":true,"url":"https://api.github.com/repos/praekelt/casepro","forks_url":"https://api.github.com/repos/praekelt/casepro/forks","keys_url":"https://api.github.com/repos/praekelt/casepro/keys{/key_id}","collaborators_url":"https://api.github.com/repos/praekelt/casepro/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/praekelt/casepro/teams","hooks_url":"https://api.github.com/repos/praekelt/casepro/hooks","issue_events_url":"https://api.github.com/repos/praekelt/casepro/issues/events{/number}","events_url":"https://api.github.com/repos/praekelt/casepro/events","assignees_url":"https://api.github.com/repos/praekelt/casepro/assignees{/user}","branches_url":"https://api.github.com/repos/praekelt/casepro/branches{/branch}","tags_url":"https://api.github.com/repos/praekelt/casepro/tags","blobs_url":"https://api.github.com/repos/praekelt/casepro/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/praekelt/casepro/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/praekelt/casepro/git/refs{/sha}","trees_url":"https://api.github.com/repos/praekelt/casepro/git/trees{/sha}","statuses_url":"https://api.github.com/repos/praekelt/casepro/statuses/{sha}","languages_url":"https://api.github.com/repos/praekelt/casepro/languages","stargazers_url":"https://api.github.com/repos/praekelt/casepro/stargazers","contributors_url":"https://api.github.com/repos/praekelt/casepro/contributors","subscribers_url":"https://api.github.com/repos/praekelt/casepro/subscribers","subscription_url":"https://api.github.com/repos/praekelt/casepro/subscription","commits_url":"https://api.github.com/repos/praekelt/casepro/commits{/sha}","git_commits_url":"https://api.github.com/repos/praekelt/casepro/git/commits{/sha}","comments_url":"https://api.github.com/repos/praekelt/casepro/comments{/number}","issue_comment_url":"https://api.github.com/repos/praekelt/casepro/issues/comments{/number}","contents_url":"https://api.github.com/repos/praekelt/casepro/contents/{+path}","compare_url":"https://api.github.com/repos/praekelt/casepro/compare/{base}...{head}","merges_url":"https://api.github.com/repos/praekelt/casepro/merges","archive_url":"https://api.github.com/repos/praekelt/casepro/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/praekelt/casepro/downloads","issues_url":"https://api.github.com/repos/praekelt/casepro/issues{/number}","pulls_url":"https://api.github.com/repos/praekelt/casepro/pulls{/number}","milestones_url":"https://api.github.com/repos/praekelt/casepro/milestones{/number}","notifications_url":"https://api.github.com/repos/praekelt/casepro/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/praekelt/casepro/labels{/name}","releases_url":"https://api.github.com/repos/praekelt/casepro/releases{/id}","deployments_url":"https://api.github.com/repos/praekelt/casepro/deployments","created_at":"2016-06-09T14:22:42Z","updated_at":"2016-06-09T14:25:12Z","pushed_at":"2016-08-15T11:22:47Z","git_url":"git://github.com/praekelt/casepro.git","ssh_url":"git@github.com:praekelt/casepro.git","clone_url":"https://github.com/praekelt/casepro.git","svn_url":"https://github.com/praekelt/casepro","homepage":"","size":3294,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/praekelt/casepro/pulls/80"},"html":{"href":"https://github.com/praekelt/casepro/pull/80"},"issue":{"href":"https://api.github.com/repos/praekelt/casepro/issues/80"},"comments":{"href":"https://api.github.com/repos/praekelt/casepro/issues/80/comments"},"review_comments":{"href":"https://api.github.com/repos/praekelt/casepro/pulls/80/comments"},"review_comment":{"href":"https://api.github.com/repos/praekelt/casepro/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/praekelt/casepro/pulls/80/commits"},"statuses":{"href":"https://api.github.com/repos/praekelt/casepro/statuses/927623d3c73f6e767d992bd63729b28eb5f52623"}}}}
{"actor":{"display_login":"jpaidoussi"}}