{"action":"created","comment":{"url":"https://api.github.com/repos/incuna/incuna-groups/pulls/comments/28002158","id":28002158,"diff_hunk":"@@ -36,10 +37,11 @@ def test_form_fields(self):\n         self.assertCountEqual(fields, expected)\n \n     def test_form_valid(self):\n-        file = factories.FileCommentFactory.create().file.file\n-        data = {'file': file}\n+        f = uploadable_file()\n+        f.name = 'image.png'","path":"groups/tests/test_forms.py","position":13,"original_position":13,"commit_id":"3d614eef42f968c81d4eb7171ab15b3905cbfb76","original_commit_id":"3d614eef42f968c81d4eb7171ab15b3905cbfb76","user":{"login":"meshy","id":767671,"avatar_url":"https://avatars.githubusercontent.com/u/767671?v=3","gravatar_id":"","url":"https://api.github.com/users/meshy","html_url":"https://github.com/meshy","followers_url":"https://api.github.com/users/meshy/followers","following_url":"https://api.github.com/users/meshy/following{/other_user}","gists_url":"https://api.github.com/users/meshy/gists{/gist_id}","starred_url":"https://api.github.com/users/meshy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meshy/subscriptions","organizations_url":"https://api.github.com/users/meshy/orgs","repos_url":"https://api.github.com/users/meshy/repos","events_url":"https://api.github.com/users/meshy/events{/privacy}","received_events_url":"https://api.github.com/users/meshy/received_events","type":"User","site_admin":false},"body":"Should this be defined in incuna-test-utils?","created_at":"2015-04-08T19:02:45Z","updated_at":"2015-04-08T19:02:45Z","html_url":"https://github.com/incuna/incuna-groups/pull/8#discussion_r28002158","pull_request_url":"https://api.github.com/repos/incuna/incuna-groups/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/incuna/incuna-groups/pulls/comments/28002158"},"html":{"href":"https://github.com/incuna/incuna-groups/pull/8#discussion_r28002158"},"pull_request":{"href":"https://api.github.com/repos/incuna/incuna-groups/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/incuna/incuna-groups/pulls/8","id":32879354,"html_url":"https://github.com/incuna/incuna-groups/pull/8","diff_url":"https://github.com/incuna/incuna-groups/pull/8.diff","patch_url":"https://github.com/incuna/incuna-groups/pull/8.patch","issue_url":"https://api.github.com/repos/incuna/incuna-groups/issues/8","number":8,"state":"open","locked":false,"title":"Update incuna_test_utils","user":{"login":"adam-incuna","id":6973481,"avatar_url":"https://avatars.githubusercontent.com/u/6973481?v=3","gravatar_id":"","url":"https://api.github.com/users/adam-incuna","html_url":"https://github.com/adam-incuna","followers_url":"https://api.github.com/users/adam-incuna/followers","following_url":"https://api.github.com/users/adam-incuna/following{/other_user}","gists_url":"https://api.github.com/users/adam-incuna/gists{/gist_id}","starred_url":"https://api.github.com/users/adam-incuna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adam-incuna/subscriptions","organizations_url":"https://api.github.com/users/adam-incuna/orgs","repos_url":"https://api.github.com/users/adam-incuna/repos","events_url":"https://api.github.com/users/adam-incuna/events{/privacy}","received_events_url":"https://api.github.com/users/adam-incuna/received_events","type":"User","site_admin":false},"body":"There's some nice new file-related stuff in incuna-test-utils that we can use in here to clean the code up somewhat.\n\n@incuna/backend quick review please?","created_at":"2015-04-08T16:47:03Z","updated_at":"2015-04-08T19:02:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a2f8d39f6b7c40d105564e4b8b64c9652a11812a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/incuna/incuna-groups/pulls/8/commits","review_comments_url":"https://api.github.com/repos/incuna/incuna-groups/pulls/8/comments","review_comment_url":"https://api.github.com/repos/incuna/incuna-groups/pulls/comments{/number}","comments_url":"https://api.github.com/repos/incuna/incuna-groups/issues/8/comments","statuses_url":"https://api.github.com/repos/incuna/incuna-groups/statuses/3d614eef42f968c81d4eb7171ab15b3905cbfb76","head":{"label":"incuna:update-test-utils","ref":"update-test-utils","sha":"3d614eef42f968c81d4eb7171ab15b3905cbfb76","user":{"login":"incuna","id":55510,"avatar_url":"https://avatars.githubusercontent.com/u/55510?v=3","gravatar_id":"","url":"https://api.github.com/users/incuna","html_url":"https://github.com/incuna","followers_url":"https://api.github.com/users/incuna/followers","following_url":"https://api.github.com/users/incuna/following{/other_user}","gists_url":"https://api.github.com/users/incuna/gists{/gist_id}","starred_url":"https://api.github.com/users/incuna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/incuna/subscriptions","organizations_url":"https://api.github.com/users/incuna/orgs","repos_url":"https://api.github.com/users/incuna/repos","events_url":"https://api.github.com/users/incuna/events{/privacy}","received_events_url":"https://api.github.com/users/incuna/received_events","type":"Organization","site_admin":false},"repo":{"id":32940766,"name":"incuna-groups","full_name":"incuna/incuna-groups","owner":{"login":"incuna","id":55510,"avatar_url":"https://avatars.githubusercontent.com/u/55510?v=3","gravatar_id":"","url":"https://api.github.com/users/incuna","html_url":"https://github.com/incuna","followers_url":"https://api.github.com/users/incuna/followers","following_url":"https://api.github.com/users/incuna/following{/other_user}","gists_url":"https://api.github.com/users/incuna/gists{/gist_id}","starred_url":"https://api.github.com/users/incuna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/incuna/subscriptions","organizations_url":"https://api.github.com/users/incuna/orgs","repos_url":"https://api.github.com/users/incuna/repos","events_url":"https://api.github.com/users/incuna/events{/privacy}","received_events_url":"https://api.github.com/users/incuna/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/incuna/incuna-groups","description":"","fork":false,"url":"https://api.github.com/repos/incuna/incuna-groups","forks_url":"https://api.github.com/repos/incuna/incuna-groups/forks","keys_url":"https://api.github.com/repos/incuna/incuna-groups/keys{/key_id}","collaborators_url":"https://api.github.com/repos/incuna/incuna-groups/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/incuna/incuna-groups/teams","hooks_url":"https://api.github.com/repos/incuna/incuna-groups/hooks","issue_events_url":"https://api.github.com/repos/incuna/incuna-groups/issues/events{/number}","events_url":"https://api.github.com/repos/incuna/incuna-groups/events","assignees_url":"https://api.github.com/repos/incuna/incuna-groups/assignees{/user}","branches_url":"https://api.github.com/repos/incuna/incuna-groups/branches{/branch}","tags_url":"https://api.github.com/repos/incuna/incuna-groups/tags","blobs_url":"https://api.github.com/repos/incuna/incuna-groups/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/incuna/incuna-groups/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/incuna/incuna-groups/git/refs{/sha}","trees_url":"https://api.github.com/repos/incuna/incuna-groups/git/trees{/sha}","statuses_url":"https://api.github.com/repos/incuna/incuna-groups/statuses/{sha}","languages_url":"https://api.github.com/repos/incuna/incuna-groups/languages","stargazers_url":"https://api.github.com/repos/incuna/incuna-groups/stargazers","contributors_url":"https://api.github.com/repos/incuna/incuna-groups/contributors","subscribers_url":"https://api.github.com/repos/incuna/incuna-groups/subscribers","subscription_url":"https://api.github.com/repos/incuna/incuna-groups/subscription","commits_url":"https://api.github.com/repos/incuna/incuna-groups/commits{/sha}","git_commits_url":"https://api.github.com/repos/incuna/incuna-groups/git/commits{/sha}","comments_url":"https://api.github.com/repos/incuna/incuna-groups/comments{/number}","issue_comment_url":"https://api.github.com/repos/incuna/incuna-groups/issues/comments{/number}","contents_url":"https://api.github.com/repos/incuna/incuna-groups/contents/{+path}","compare_url":"https://api.github.com/repos/incuna/incuna-groups/compare/{base}...{head}","merges_url":"https://api.github.com/repos/incuna/incuna-groups/merges","archive_url":"https://api.github.com/repos/incuna/incuna-groups/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/incuna/incuna-groups/downloads","issues_url":"https://api.github.com/repos/incuna/incuna-groups/issues{/number}","pulls_url":"https://api.github.com/repos/incuna/incuna-groups/pulls{/number}","milestones_url":"https://api.github.com/repos/incuna/incuna-groups/milestones{/number}","notifications_url":"https://api.github.com/repos/incuna/incuna-groups/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/incuna/incuna-groups/labels{/name}","releases_url":"https://api.github.com/repos/incuna/incuna-groups/releases{/id}","created_at":"2015-03-26T17:02:36Z","updated_at":"2015-04-02T16:30:02Z","pushed_at":"2015-04-08T16:47:03Z","git_url":"git://github.com/incuna/incuna-groups.git","ssh_url":"git@github.com:incuna/incuna-groups.git","clone_url":"https://github.com/incuna/incuna-groups.git","svn_url":"https://github.com/incuna/incuna-groups","homepage":null,"size":304,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"incuna:master","ref":"master","sha":"85b11dec1daadb9609d497f0b2e7534978b91bc5","user":{"login":"incuna","id":55510,"avatar_url":"https://avatars.githubusercontent.com/u/55510?v=3","gravatar_id":"","url":"https://api.github.com/users/incuna","html_url":"https://github.com/incuna","followers_url":"https://api.github.com/users/incuna/followers","following_url":"https://api.github.com/users/incuna/following{/other_user}","gists_url":"https://api.github.com/users/incuna/gists{/gist_id}","starred_url":"https://api.github.com/users/incuna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/incuna/subscriptions","organizations_url":"https://api.github.com/users/incuna/orgs","repos_url":"https://api.github.com/users/incuna/repos","events_url":"https://api.github.com/users/incuna/events{/privacy}","received_events_url":"https://api.github.com/users/incuna/received_events","type":"Organization","site_admin":false},"repo":{"id":32940766,"name":"incuna-groups","full_name":"incuna/incuna-groups","owner":{"login":"incuna","id":55510,"avatar_url":"https://avatars.githubusercontent.com/u/55510?v=3","gravatar_id":"","url":"https://api.github.com/users/incuna","html_url":"https://github.com/incuna","followers_url":"https://api.github.com/users/incuna/followers","following_url":"https://api.github.com/users/incuna/following{/other_user}","gists_url":"https://api.github.com/users/incuna/gists{/gist_id}","starred_url":"https://api.github.com/users/incuna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/incuna/subscriptions","organizations_url":"https://api.github.com/users/incuna/orgs","repos_url":"https://api.github.com/users/incuna/repos","events_url":"https://api.github.com/users/incuna/events{/privacy}","received_events_url":"https://api.github.com/users/incuna/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/incuna/incuna-groups","description":"","fork":false,"url":"https://api.github.com/repos/incuna/incuna-groups","forks_url":"https://api.github.com/repos/incuna/incuna-groups/forks","keys_url":"https://api.github.com/repos/incuna/incuna-groups/keys{/key_id}","collaborators_url":"https://api.github.com/repos/incuna/incuna-groups/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/incuna/incuna-groups/teams","hooks_url":"https://api.github.com/repos/incuna/incuna-groups/hooks","issue_events_url":"https://api.github.com/repos/incuna/incuna-groups/issues/events{/number}","events_url":"https://api.github.com/repos/incuna/incuna-groups/events","assignees_url":"https://api.github.com/repos/incuna/incuna-groups/assignees{/user}","branches_url":"https://api.github.com/repos/incuna/incuna-groups/branches{/branch}","tags_url":"https://api.github.com/repos/incuna/incuna-groups/tags","blobs_url":"https://api.github.com/repos/incuna/incuna-groups/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/incuna/incuna-groups/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/incuna/incuna-groups/git/refs{/sha}","trees_url":"https://api.github.com/repos/incuna/incuna-groups/git/trees{/sha}","statuses_url":"https://api.github.com/repos/incuna/incuna-groups/statuses/{sha}","languages_url":"https://api.github.com/repos/incuna/incuna-groups/languages","stargazers_url":"https://api.github.com/repos/incuna/incuna-groups/stargazers","contributors_url":"https://api.github.com/repos/incuna/incuna-groups/contributors","subscribers_url":"https://api.github.com/repos/incuna/incuna-groups/subscribers","subscription_url":"https://api.github.com/repos/incuna/incuna-groups/subscription","commits_url":"https://api.github.com/repos/incuna/incuna-groups/commits{/sha}","git_commits_url":"https://api.github.com/repos/incuna/incuna-groups/git/commits{/sha}","comments_url":"https://api.github.com/repos/incuna/incuna-groups/comments{/number}","issue_comment_url":"https://api.github.com/repos/incuna/incuna-groups/issues/comments{/number}","contents_url":"https://api.github.com/repos/incuna/incuna-groups/contents/{+path}","compare_url":"https://api.github.com/repos/incuna/incuna-groups/compare/{base}...{head}","merges_url":"https://api.github.com/repos/incuna/incuna-groups/merges","archive_url":"https://api.github.com/repos/incuna/incuna-groups/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/incuna/incuna-groups/downloads","issues_url":"https://api.github.com/repos/incuna/incuna-groups/issues{/number}","pulls_url":"https://api.github.com/repos/incuna/incuna-groups/pulls{/number}","milestones_url":"https://api.github.com/repos/incuna/incuna-groups/milestones{/number}","notifications_url":"https://api.github.com/repos/incuna/incuna-groups/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/incuna/incuna-groups/labels{/name}","releases_url":"https://api.github.com/repos/incuna/incuna-groups/releases{/id}","created_at":"2015-03-26T17:02:36Z","updated_at":"2015-04-02T16:30:02Z","pushed_at":"2015-04-08T16:47:03Z","git_url":"git://github.com/incuna/incuna-groups.git","ssh_url":"git@github.com:incuna/incuna-groups.git","clone_url":"https://github.com/incuna/incuna-groups.git","svn_url":"https://github.com/incuna/incuna-groups","homepage":null,"size":304,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/incuna/incuna-groups/pulls/8"},"html":{"href":"https://github.com/incuna/incuna-groups/pull/8"},"issue":{"href":"https://api.github.com/repos/incuna/incuna-groups/issues/8"},"comments":{"href":"https://api.github.com/repos/incuna/incuna-groups/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/incuna/incuna-groups/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/incuna/incuna-groups/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/incuna/incuna-groups/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/incuna/incuna-groups/statuses/3d614eef42f968c81d4eb7171ab15b3905cbfb76"}}}}