{"action":"created","comment":{"url":"https://api.github.com/repos/alexgerstein/rss-aggregator/pulls/comments/23506558","id":23506558,"diff_hunk":"@@ -14,10 +14,10 @@ def setUp(self):\n         self.app = app.test_client()\n         db.create_all()\n         self.user_role = RoleFactory()\n-        user = UserFactory.create(role=self.user_role)\n+        user = UserFactory.create(roles=[self.user_role])","path":"tests/api_tests/user_tests.py","position":5,"original_position":5,"commit_id":"73f2130cf2c38536a067c16476826aa1c1f2268d","original_commit_id":"82d931f7e409abf5bfeab7fe2027c027207afd71","user":{"login":"swglad","id":5695548,"avatar_url":"https://avatars.githubusercontent.com/u/5695548?v=3","gravatar_id":"","url":"https://api.github.com/users/swglad","html_url":"https://github.com/swglad","followers_url":"https://api.github.com/users/swglad/followers","following_url":"https://api.github.com/users/swglad/following{/other_user}","gists_url":"https://api.github.com/users/swglad/gists{/gist_id}","starred_url":"https://api.github.com/users/swglad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swglad/subscriptions","organizations_url":"https://api.github.com/users/swglad/orgs","repos_url":"https://api.github.com/users/swglad/repos","events_url":"https://api.github.com/users/swglad/events{/privacy}","received_events_url":"https://api.github.com/users/swglad/received_events","type":"User","site_admin":false},"body":"For consistency, in subscription tests, you used: self.user = UserFactory(roles=[role],subscribed=[feed]).\r\n\r\nLet's either remove the .create or add it to the others.","created_at":"2015-01-25T19:01:53Z","updated_at":"2015-01-25T19:01:53Z","html_url":"https://github.com/alexgerstein/rss-aggregator/pull/29#discussion_r23506558","pull_request_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/pulls/29","_links":{"self":{"href":"https://api.github.com/repos/alexgerstein/rss-aggregator/pulls/comments/23506558"},"html":{"href":"https://github.com/alexgerstein/rss-aggregator/pull/29#discussion_r23506558"},"pull_request":{"href":"https://api.github.com/repos/alexgerstein/rss-aggregator/pulls/29"}}},"pull_request":{"url":"https://api.github.com/repos/alexgerstein/rss-aggregator/pulls/29","id":27989244,"html_url":"https://github.com/alexgerstein/rss-aggregator/pull/29","diff_url":"https://github.com/alexgerstein/rss-aggregator/pull/29.diff","patch_url":"https://github.com/alexgerstein/rss-aggregator/pull/29.patch","issue_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/issues/29","number":29,"state":"open","locked":false,"title":"Added subscribe/unsubscribe to API.","user":{"login":"alexgerstein","id":1390314,"avatar_url":"https://avatars.githubusercontent.com/u/1390314?v=3","gravatar_id":"","url":"https://api.github.com/users/alexgerstein","html_url":"https://github.com/alexgerstein","followers_url":"https://api.github.com/users/alexgerstein/followers","following_url":"https://api.github.com/users/alexgerstein/following{/other_user}","gists_url":"https://api.github.com/users/alexgerstein/gists{/gist_id}","starred_url":"https://api.github.com/users/alexgerstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexgerstein/subscriptions","organizations_url":"https://api.github.com/users/alexgerstein/orgs","repos_url":"https://api.github.com/users/alexgerstein/repos","events_url":"https://api.github.com/users/alexgerstein/events{/privacy}","received_events_url":"https://api.github.com/users/alexgerstein/received_events","type":"User","site_admin":false},"body":"Closes #15.","created_at":"2015-01-25T08:17:17Z","updated_at":"2015-01-25T19:01:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0fa633c2b154f8a04c069063598806ef74bbbdba","assignee":{"login":"swglad","id":5695548,"avatar_url":"https://avatars.githubusercontent.com/u/5695548?v=3","gravatar_id":"","url":"https://api.github.com/users/swglad","html_url":"https://github.com/swglad","followers_url":"https://api.github.com/users/swglad/followers","following_url":"https://api.github.com/users/swglad/following{/other_user}","gists_url":"https://api.github.com/users/swglad/gists{/gist_id}","starred_url":"https://api.github.com/users/swglad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swglad/subscriptions","organizations_url":"https://api.github.com/users/swglad/orgs","repos_url":"https://api.github.com/users/swglad/repos","events_url":"https://api.github.com/users/swglad/events{/privacy}","received_events_url":"https://api.github.com/users/swglad/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/alexgerstein/rss-aggregator/milestones/1","labels_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/milestones/1/labels","id":934487,"number":1,"title":"Core RSS Feed Reader","description":"Get a working RSS Feed Reader before our meeting with Balkcom.","creator":{"login":"alexgerstein","id":1390314,"avatar_url":"https://avatars.githubusercontent.com/u/1390314?v=3","gravatar_id":"","url":"https://api.github.com/users/alexgerstein","html_url":"https://github.com/alexgerstein","followers_url":"https://api.github.com/users/alexgerstein/followers","following_url":"https://api.github.com/users/alexgerstein/following{/other_user}","gists_url":"https://api.github.com/users/alexgerstein/gists{/gist_id}","starred_url":"https://api.github.com/users/alexgerstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexgerstein/subscriptions","organizations_url":"https://api.github.com/users/alexgerstein/orgs","repos_url":"https://api.github.com/users/alexgerstein/repos","events_url":"https://api.github.com/users/alexgerstein/events{/privacy}","received_events_url":"https://api.github.com/users/alexgerstein/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":13,"state":"open","created_at":"2015-01-14T02:50:11Z","updated_at":"2015-01-25T08:17:23Z","due_on":"2015-01-26T05:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/pulls/29/commits","review_comments_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/pulls/29/comments","review_comment_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/pulls/comments/{number}","comments_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/issues/29/comments","statuses_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/statuses/73f2130cf2c38536a067c16476826aa1c1f2268d","head":{"label":"alexgerstein:subscribe_api","ref":"subscribe_api","sha":"73f2130cf2c38536a067c16476826aa1c1f2268d","user":{"login":"alexgerstein","id":1390314,"avatar_url":"https://avatars.githubusercontent.com/u/1390314?v=3","gravatar_id":"","url":"https://api.github.com/users/alexgerstein","html_url":"https://github.com/alexgerstein","followers_url":"https://api.github.com/users/alexgerstein/followers","following_url":"https://api.github.com/users/alexgerstein/following{/other_user}","gists_url":"https://api.github.com/users/alexgerstein/gists{/gist_id}","starred_url":"https://api.github.com/users/alexgerstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexgerstein/subscriptions","organizations_url":"https://api.github.com/users/alexgerstein/orgs","repos_url":"https://api.github.com/users/alexgerstein/repos","events_url":"https://api.github.com/users/alexgerstein/events{/privacy}","received_events_url":"https://api.github.com/users/alexgerstein/received_events","type":"User","site_admin":false},"repo":{"id":29208817,"name":"rss-aggregator","full_name":"alexgerstein/rss-aggregator","owner":{"login":"alexgerstein","id":1390314,"avatar_url":"https://avatars.githubusercontent.com/u/1390314?v=3","gravatar_id":"","url":"https://api.github.com/users/alexgerstein","html_url":"https://github.com/alexgerstein","followers_url":"https://api.github.com/users/alexgerstein/followers","following_url":"https://api.github.com/users/alexgerstein/following{/other_user}","gists_url":"https://api.github.com/users/alexgerstein/gists{/gist_id}","starred_url":"https://api.github.com/users/alexgerstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexgerstein/subscriptions","organizations_url":"https://api.github.com/users/alexgerstein/orgs","repos_url":"https://api.github.com/users/alexgerstein/repos","events_url":"https://api.github.com/users/alexgerstein/events{/privacy}","received_events_url":"https://api.github.com/users/alexgerstein/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alexgerstein/rss-aggregator","description":"Read Your News Faster.","fork":false,"url":"https://api.github.com/repos/alexgerstein/rss-aggregator","forks_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/forks","keys_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/teams","hooks_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/hooks","issue_events_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/issues/events{/number}","events_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/events","assignees_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/assignees{/user}","branches_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/branches{/branch}","tags_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/tags","blobs_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/git/refs{/sha}","trees_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/statuses/{sha}","languages_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/languages","stargazers_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/stargazers","contributors_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/contributors","subscribers_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/subscribers","subscription_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/subscription","commits_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/commits{/sha}","git_commits_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/git/commits{/sha}","comments_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/comments{/number}","issue_comment_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/issues/comments/{number}","contents_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/contents/{+path}","compare_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/merges","archive_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/downloads","issues_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/issues{/number}","pulls_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/pulls{/number}","milestones_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/milestones{/number}","notifications_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/labels{/name}","releases_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/releases{/id}","created_at":"2015-01-13T20:12:47Z","updated_at":"2015-01-25T05:31:33Z","pushed_at":"2015-01-25T19:01:45Z","git_url":"git://github.com/alexgerstein/rss-aggregator.git","ssh_url":"git@github.com:alexgerstein/rss-aggregator.git","clone_url":"https://github.com/alexgerstein/rss-aggregator.git","svn_url":"https://github.com/alexgerstein/rss-aggregator","homepage":null,"size":1124,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":8,"forks":0,"open_issues":8,"watchers":2,"default_branch":"master"}},"base":{"label":"alexgerstein:master","ref":"master","sha":"90ef3bf1897d3e523fa1fecfff804712376499e7","user":{"login":"alexgerstein","id":1390314,"avatar_url":"https://avatars.githubusercontent.com/u/1390314?v=3","gravatar_id":"","url":"https://api.github.com/users/alexgerstein","html_url":"https://github.com/alexgerstein","followers_url":"https://api.github.com/users/alexgerstein/followers","following_url":"https://api.github.com/users/alexgerstein/following{/other_user}","gists_url":"https://api.github.com/users/alexgerstein/gists{/gist_id}","starred_url":"https://api.github.com/users/alexgerstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexgerstein/subscriptions","organizations_url":"https://api.github.com/users/alexgerstein/orgs","repos_url":"https://api.github.com/users/alexgerstein/repos","events_url":"https://api.github.com/users/alexgerstein/events{/privacy}","received_events_url":"https://api.github.com/users/alexgerstein/received_events","type":"User","site_admin":false},"repo":{"id":29208817,"name":"rss-aggregator","full_name":"alexgerstein/rss-aggregator","owner":{"login":"alexgerstein","id":1390314,"avatar_url":"https://avatars.githubusercontent.com/u/1390314?v=3","gravatar_id":"","url":"https://api.github.com/users/alexgerstein","html_url":"https://github.com/alexgerstein","followers_url":"https://api.github.com/users/alexgerstein/followers","following_url":"https://api.github.com/users/alexgerstein/following{/other_user}","gists_url":"https://api.github.com/users/alexgerstein/gists{/gist_id}","starred_url":"https://api.github.com/users/alexgerstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexgerstein/subscriptions","organizations_url":"https://api.github.com/users/alexgerstein/orgs","repos_url":"https://api.github.com/users/alexgerstein/repos","events_url":"https://api.github.com/users/alexgerstein/events{/privacy}","received_events_url":"https://api.github.com/users/alexgerstein/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alexgerstein/rss-aggregator","description":"Read Your News Faster.","fork":false,"url":"https://api.github.com/repos/alexgerstein/rss-aggregator","forks_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/forks","keys_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/teams","hooks_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/hooks","issue_events_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/issues/events{/number}","events_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/events","assignees_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/assignees{/user}","branches_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/branches{/branch}","tags_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/tags","blobs_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/git/refs{/sha}","trees_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/statuses/{sha}","languages_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/languages","stargazers_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/stargazers","contributors_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/contributors","subscribers_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/subscribers","subscription_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/subscription","commits_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/commits{/sha}","git_commits_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/git/commits{/sha}","comments_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/comments{/number}","issue_comment_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/issues/comments/{number}","contents_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/contents/{+path}","compare_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/merges","archive_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/downloads","issues_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/issues{/number}","pulls_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/pulls{/number}","milestones_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/milestones{/number}","notifications_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/labels{/name}","releases_url":"https://api.github.com/repos/alexgerstein/rss-aggregator/releases{/id}","created_at":"2015-01-13T20:12:47Z","updated_at":"2015-01-25T05:31:33Z","pushed_at":"2015-01-25T19:01:45Z","git_url":"git://github.com/alexgerstein/rss-aggregator.git","ssh_url":"git@github.com:alexgerstein/rss-aggregator.git","clone_url":"https://github.com/alexgerstein/rss-aggregator.git","svn_url":"https://github.com/alexgerstein/rss-aggregator","homepage":null,"size":1124,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":8,"forks":0,"open_issues":8,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alexgerstein/rss-aggregator/pulls/29"},"html":{"href":"https://github.com/alexgerstein/rss-aggregator/pull/29"},"issue":{"href":"https://api.github.com/repos/alexgerstein/rss-aggregator/issues/29"},"comments":{"href":"https://api.github.com/repos/alexgerstein/rss-aggregator/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/alexgerstein/rss-aggregator/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/alexgerstein/rss-aggregator/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/alexgerstein/rss-aggregator/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/alexgerstein/rss-aggregator/statuses/73f2130cf2c38536a067c16476826aa1c1f2268d"}}}}