{"action":"created","comment":{"url":"https://api.github.com/repos/pythonindia/junction/pulls/comments/70069059","id":70069059,"diff_hunk":"@@ -0,0 +1,27 @@\n+# -*- coding: utf-8 -*-\n+\n+import pytest\n+from django.core.urlresolvers import reverse\n+from rest_framework import status\n+\n+\n+pytestmark = pytest.mark.django_db\n+\n+\n+class TestProposalListApi:\n+\n+    def test_get_proposals_list_without_conference(self, client):\n+        url = '{}?conference={}'.format(reverse('proposals-list-api'), 'foo')\n+        res = client.get(url)\n+\n+        assert res.status_code == status.HTTP_200_OK\n+        assert res.data['count'] == 0\n+\n+    def test_get_proposals_list(self, client, conferences, create_proposal):\n+        conference = conferences['future']\n+        url = '{}?conference={}'.format(reverse('proposals-list-api'), conference.slug)\n+        res = client.get(url)\n+\n+        assert res.status_code == status.HTTP_200_OK\n+        assert res.data['count'] == 1\n+        assert res.data['results'] != []","path":"tests/integrations/test_proposal_api.py","position":27,"original_position":27,"commit_id":"1327e0974e6bde21bd28cad87cebe6891b90a26d","original_commit_id":"1327e0974e6bde21bd28cad87cebe6891b90a26d","user":{"login":"kracekumar","id":311929,"avatar_url":"https://avatars.githubusercontent.com/u/311929?v=3","gravatar_id":"","url":"https://api.github.com/users/kracekumar","html_url":"https://github.com/kracekumar","followers_url":"https://api.github.com/users/kracekumar/followers","following_url":"https://api.github.com/users/kracekumar/following{/other_user}","gists_url":"https://api.github.com/users/kracekumar/gists{/gist_id}","starred_url":"https://api.github.com/users/kracekumar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kracekumar/subscriptions","organizations_url":"https://api.github.com/users/kracekumar/orgs","repos_url":"https://api.github.com/users/kracekumar/repos","events_url":"https://api.github.com/users/kracekumar/events{/privacy}","received_events_url":"https://api.github.com/users/kracekumar/received_events","type":"User","site_admin":false},"body":"- Add test case to assert all details in the proposal with `private` and `reviewer` count. \r\n- Add test case to check pagination.","created_at":"2016-07-08T12:55:19Z","updated_at":"2016-07-08T12:55:19Z","html_url":"https://github.com/pythonindia/junction/pull/473#discussion_r70069059","pull_request_url":"https://api.github.com/repos/pythonindia/junction/pulls/473","_links":{"self":{"href":"https://api.github.com/repos/pythonindia/junction/pulls/comments/70069059"},"html":{"href":"https://github.com/pythonindia/junction/pull/473#discussion_r70069059"},"pull_request":{"href":"https://api.github.com/repos/pythonindia/junction/pulls/473"}}},"pull_request":{"url":"https://api.github.com/repos/pythonindia/junction/pulls/473","id":76601698,"html_url":"https://github.com/pythonindia/junction/pull/473","diff_url":"https://github.com/pythonindia/junction/pull/473.diff","patch_url":"https://github.com/pythonindia/junction/pull/473.patch","issue_url":"https://api.github.com/repos/pythonindia/junction/issues/473","number":473,"state":"open","locked":false,"title":"Add proposal API ","user":{"login":"ChillarAnand","id":4463796,"avatar_url":"https://avatars.githubusercontent.com/u/4463796?v=3","gravatar_id":"","url":"https://api.github.com/users/ChillarAnand","html_url":"https://github.com/ChillarAnand","followers_url":"https://api.github.com/users/ChillarAnand/followers","following_url":"https://api.github.com/users/ChillarAnand/following{/other_user}","gists_url":"https://api.github.com/users/ChillarAnand/gists{/gist_id}","starred_url":"https://api.github.com/users/ChillarAnand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChillarAnand/subscriptions","organizations_url":"https://api.github.com/users/ChillarAnand/orgs","repos_url":"https://api.github.com/users/ChillarAnand/repos","events_url":"https://api.github.com/users/ChillarAnand/events{/privacy}","received_events_url":"https://api.github.com/users/ChillarAnand/received_events","type":"User","site_admin":false},"body":"closes #462","created_at":"2016-07-07T14:11:17Z","updated_at":"2016-07-08T12:55:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4e45194b4621b4dd7f47eb1c81db3b63d21f95a9","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/pythonindia/junction/pulls/473/commits","review_comments_url":"https://api.github.com/repos/pythonindia/junction/pulls/473/comments","review_comment_url":"https://api.github.com/repos/pythonindia/junction/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pythonindia/junction/issues/473/comments","statuses_url":"https://api.github.com/repos/pythonindia/junction/statuses/1327e0974e6bde21bd28cad87cebe6891b90a26d","head":{"label":"ChillarAnand:api","ref":"api","sha":"1327e0974e6bde21bd28cad87cebe6891b90a26d","user":{"login":"ChillarAnand","id":4463796,"avatar_url":"https://avatars.githubusercontent.com/u/4463796?v=3","gravatar_id":"","url":"https://api.github.com/users/ChillarAnand","html_url":"https://github.com/ChillarAnand","followers_url":"https://api.github.com/users/ChillarAnand/followers","following_url":"https://api.github.com/users/ChillarAnand/following{/other_user}","gists_url":"https://api.github.com/users/ChillarAnand/gists{/gist_id}","starred_url":"https://api.github.com/users/ChillarAnand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChillarAnand/subscriptions","organizations_url":"https://api.github.com/users/ChillarAnand/orgs","repos_url":"https://api.github.com/users/ChillarAnand/repos","events_url":"https://api.github.com/users/ChillarAnand/events{/privacy}","received_events_url":"https://api.github.com/users/ChillarAnand/received_events","type":"User","site_admin":false},"repo":{"id":29599031,"name":"junction","full_name":"ChillarAnand/junction","owner":{"login":"ChillarAnand","id":4463796,"avatar_url":"https://avatars.githubusercontent.com/u/4463796?v=3","gravatar_id":"","url":"https://api.github.com/users/ChillarAnand","html_url":"https://github.com/ChillarAnand","followers_url":"https://api.github.com/users/ChillarAnand/followers","following_url":"https://api.github.com/users/ChillarAnand/following{/other_user}","gists_url":"https://api.github.com/users/ChillarAnand/gists{/gist_id}","starred_url":"https://api.github.com/users/ChillarAnand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChillarAnand/subscriptions","organizations_url":"https://api.github.com/users/ChillarAnand/orgs","repos_url":"https://api.github.com/users/ChillarAnand/repos","events_url":"https://api.github.com/users/ChillarAnand/events{/privacy}","received_events_url":"https://api.github.com/users/ChillarAnand/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ChillarAnand/junction","description":"Junction is a software to manage proposals, reviews, schedule, feedback during conference.","fork":true,"url":"https://api.github.com/repos/ChillarAnand/junction","forks_url":"https://api.github.com/repos/ChillarAnand/junction/forks","keys_url":"https://api.github.com/repos/ChillarAnand/junction/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ChillarAnand/junction/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ChillarAnand/junction/teams","hooks_url":"https://api.github.com/repos/ChillarAnand/junction/hooks","issue_events_url":"https://api.github.com/repos/ChillarAnand/junction/issues/events{/number}","events_url":"https://api.github.com/repos/ChillarAnand/junction/events","assignees_url":"https://api.github.com/repos/ChillarAnand/junction/assignees{/user}","branches_url":"https://api.github.com/repos/ChillarAnand/junction/branches{/branch}","tags_url":"https://api.github.com/repos/ChillarAnand/junction/tags","blobs_url":"https://api.github.com/repos/ChillarAnand/junction/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ChillarAnand/junction/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ChillarAnand/junction/git/refs{/sha}","trees_url":"https://api.github.com/repos/ChillarAnand/junction/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ChillarAnand/junction/statuses/{sha}","languages_url":"https://api.github.com/repos/ChillarAnand/junction/languages","stargazers_url":"https://api.github.com/repos/ChillarAnand/junction/stargazers","contributors_url":"https://api.github.com/repos/ChillarAnand/junction/contributors","subscribers_url":"https://api.github.com/repos/ChillarAnand/junction/subscribers","subscription_url":"https://api.github.com/repos/ChillarAnand/junction/subscription","commits_url":"https://api.github.com/repos/ChillarAnand/junction/commits{/sha}","git_commits_url":"https://api.github.com/repos/ChillarAnand/junction/git/commits{/sha}","comments_url":"https://api.github.com/repos/ChillarAnand/junction/comments{/number}","issue_comment_url":"https://api.github.com/repos/ChillarAnand/junction/issues/comments{/number}","contents_url":"https://api.github.com/repos/ChillarAnand/junction/contents/{+path}","compare_url":"https://api.github.com/repos/ChillarAnand/junction/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ChillarAnand/junction/merges","archive_url":"https://api.github.com/repos/ChillarAnand/junction/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ChillarAnand/junction/downloads","issues_url":"https://api.github.com/repos/ChillarAnand/junction/issues{/number}","pulls_url":"https://api.github.com/repos/ChillarAnand/junction/pulls{/number}","milestones_url":"https://api.github.com/repos/ChillarAnand/junction/milestones{/number}","notifications_url":"https://api.github.com/repos/ChillarAnand/junction/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ChillarAnand/junction/labels{/name}","releases_url":"https://api.github.com/repos/ChillarAnand/junction/releases{/id}","deployments_url":"https://api.github.com/repos/ChillarAnand/junction/deployments","created_at":"2015-01-21T16:30:33Z","updated_at":"2016-03-04T17:09:44Z","pushed_at":"2016-07-07T14:36:08Z","git_url":"git://github.com/ChillarAnand/junction.git","ssh_url":"git@github.com:ChillarAnand/junction.git","clone_url":"https://github.com/ChillarAnand/junction.git","svn_url":"https://github.com/ChillarAnand/junction","homepage":"","size":3621,"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":"pythonindia:master","ref":"master","sha":"a6c7031d8f1009fd656fff12332fa7b9e91a43d3","user":{"login":"pythonindia","id":1763047,"avatar_url":"https://avatars.githubusercontent.com/u/1763047?v=3","gravatar_id":"","url":"https://api.github.com/users/pythonindia","html_url":"https://github.com/pythonindia","followers_url":"https://api.github.com/users/pythonindia/followers","following_url":"https://api.github.com/users/pythonindia/following{/other_user}","gists_url":"https://api.github.com/users/pythonindia/gists{/gist_id}","starred_url":"https://api.github.com/users/pythonindia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pythonindia/subscriptions","organizations_url":"https://api.github.com/users/pythonindia/orgs","repos_url":"https://api.github.com/users/pythonindia/repos","events_url":"https://api.github.com/users/pythonindia/events{/privacy}","received_events_url":"https://api.github.com/users/pythonindia/received_events","type":"Organization","site_admin":false},"repo":{"id":27966694,"name":"junction","full_name":"pythonindia/junction","owner":{"login":"pythonindia","id":1763047,"avatar_url":"https://avatars.githubusercontent.com/u/1763047?v=3","gravatar_id":"","url":"https://api.github.com/users/pythonindia","html_url":"https://github.com/pythonindia","followers_url":"https://api.github.com/users/pythonindia/followers","following_url":"https://api.github.com/users/pythonindia/following{/other_user}","gists_url":"https://api.github.com/users/pythonindia/gists{/gist_id}","starred_url":"https://api.github.com/users/pythonindia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pythonindia/subscriptions","organizations_url":"https://api.github.com/users/pythonindia/orgs","repos_url":"https://api.github.com/users/pythonindia/repos","events_url":"https://api.github.com/users/pythonindia/events{/privacy}","received_events_url":"https://api.github.com/users/pythonindia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pythonindia/junction","description":"Junction is a software to manage proposals, reviews, schedule, feedback during conference.","fork":false,"url":"https://api.github.com/repos/pythonindia/junction","forks_url":"https://api.github.com/repos/pythonindia/junction/forks","keys_url":"https://api.github.com/repos/pythonindia/junction/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pythonindia/junction/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pythonindia/junction/teams","hooks_url":"https://api.github.com/repos/pythonindia/junction/hooks","issue_events_url":"https://api.github.com/repos/pythonindia/junction/issues/events{/number}","events_url":"https://api.github.com/repos/pythonindia/junction/events","assignees_url":"https://api.github.com/repos/pythonindia/junction/assignees{/user}","branches_url":"https://api.github.com/repos/pythonindia/junction/branches{/branch}","tags_url":"https://api.github.com/repos/pythonindia/junction/tags","blobs_url":"https://api.github.com/repos/pythonindia/junction/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pythonindia/junction/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pythonindia/junction/git/refs{/sha}","trees_url":"https://api.github.com/repos/pythonindia/junction/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pythonindia/junction/statuses/{sha}","languages_url":"https://api.github.com/repos/pythonindia/junction/languages","stargazers_url":"https://api.github.com/repos/pythonindia/junction/stargazers","contributors_url":"https://api.github.com/repos/pythonindia/junction/contributors","subscribers_url":"https://api.github.com/repos/pythonindia/junction/subscribers","subscription_url":"https://api.github.com/repos/pythonindia/junction/subscription","commits_url":"https://api.github.com/repos/pythonindia/junction/commits{/sha}","git_commits_url":"https://api.github.com/repos/pythonindia/junction/git/commits{/sha}","comments_url":"https://api.github.com/repos/pythonindia/junction/comments{/number}","issue_comment_url":"https://api.github.com/repos/pythonindia/junction/issues/comments{/number}","contents_url":"https://api.github.com/repos/pythonindia/junction/contents/{+path}","compare_url":"https://api.github.com/repos/pythonindia/junction/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pythonindia/junction/merges","archive_url":"https://api.github.com/repos/pythonindia/junction/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pythonindia/junction/downloads","issues_url":"https://api.github.com/repos/pythonindia/junction/issues{/number}","pulls_url":"https://api.github.com/repos/pythonindia/junction/pulls{/number}","milestones_url":"https://api.github.com/repos/pythonindia/junction/milestones{/number}","notifications_url":"https://api.github.com/repos/pythonindia/junction/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pythonindia/junction/labels{/name}","releases_url":"https://api.github.com/repos/pythonindia/junction/releases{/id}","deployments_url":"https://api.github.com/repos/pythonindia/junction/deployments","created_at":"2014-12-13T16:40:17Z","updated_at":"2016-07-07T09:30:19Z","pushed_at":"2016-07-08T11:28:02Z","git_url":"git://github.com/pythonindia/junction.git","ssh_url":"git@github.com:pythonindia/junction.git","clone_url":"https://github.com/pythonindia/junction.git","svn_url":"https://github.com/pythonindia/junction","homepage":"","size":5298,"stargazers_count":54,"watchers_count":54,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":71,"mirror_url":null,"open_issues_count":52,"forks":71,"open_issues":52,"watchers":54,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pythonindia/junction/pulls/473"},"html":{"href":"https://github.com/pythonindia/junction/pull/473"},"issue":{"href":"https://api.github.com/repos/pythonindia/junction/issues/473"},"comments":{"href":"https://api.github.com/repos/pythonindia/junction/issues/473/comments"},"review_comments":{"href":"https://api.github.com/repos/pythonindia/junction/pulls/473/comments"},"review_comment":{"href":"https://api.github.com/repos/pythonindia/junction/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pythonindia/junction/pulls/473/commits"},"statuses":{"href":"https://api.github.com/repos/pythonindia/junction/statuses/1327e0974e6bde21bd28cad87cebe6891b90a26d"}}}}
{"actor":{"display_login":"kracekumar"}}