{"action":"created","comment":{"url":"https://api.github.com/repos/kboard/kboard/pulls/comments/88775291","pull_request_review_id":9341617,"id":88775291,"diff_hunk":"@@ -293,6 +293,22 @@ def test_hide_edit_post_button_if_user_is_not_authenticated(self):\n         response = self.client.get(reverse('board:view_post', args=[post.id]))\n         self.assertNotContains(response, 'id_edit_post_button')\n \n+    def test_hide_delete_post_button_if_user_is_not_authenticated(self):\n+        self.client.login(username='test', password='kboard123')","path":"kboard/board/tests/test_views.py","position":14,"original_position":14,"commit_id":"722997afd5c07ef85f6eb7fbb7bc1a3ff3f94750","original_commit_id":"722997afd5c07ef85f6eb7fbb7bc1a3ff3f94750","user":{"login":"guswnsxodlf","id":14245930,"avatar_url":"https://avatars.githubusercontent.com/u/14245930?v=3","gravatar_id":"","url":"https://api.github.com/users/guswnsxodlf","html_url":"https://github.com/guswnsxodlf","followers_url":"https://api.github.com/users/guswnsxodlf/followers","following_url":"https://api.github.com/users/guswnsxodlf/following{/other_user}","gists_url":"https://api.github.com/users/guswnsxodlf/gists{/gist_id}","starred_url":"https://api.github.com/users/guswnsxodlf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guswnsxodlf/subscriptions","organizations_url":"https://api.github.com/users/guswnsxodlf/orgs","repos_url":"https://api.github.com/users/guswnsxodlf/repos","events_url":"https://api.github.com/users/guswnsxodlf/events{/privacy}","received_events_url":"https://api.github.com/users/guswnsxodlf/received_events","type":"User","site_admin":false},"body":"Use self.login()\r\nSee base.py","created_at":"2016-11-19T08:13:46Z","updated_at":"2016-11-19T08:13:46Z","html_url":"https://github.com/kboard/kboard/pull/295#discussion_r88775291","pull_request_url":"https://api.github.com/repos/kboard/kboard/pulls/295","_links":{"self":{"href":"https://api.github.com/repos/kboard/kboard/pulls/comments/88775291"},"html":{"href":"https://github.com/kboard/kboard/pull/295#discussion_r88775291"},"pull_request":{"href":"https://api.github.com/repos/kboard/kboard/pulls/295"}}},"pull_request":{"url":"https://api.github.com/repos/kboard/kboard/pulls/295","id":94473382,"html_url":"https://github.com/kboard/kboard/pull/295","diff_url":"https://github.com/kboard/kboard/pull/295.diff","patch_url":"https://github.com/kboard/kboard/pull/295.patch","issue_url":"https://api.github.com/repos/kboard/kboard/issues/295","number":295,"state":"open","locked":false,"title":"Hide delete btn if user isn't authenticated ","user":{"login":"cjh5414","id":14209486,"avatar_url":"https://avatars.githubusercontent.com/u/14209486?v=3","gravatar_id":"","url":"https://api.github.com/users/cjh5414","html_url":"https://github.com/cjh5414","followers_url":"https://api.github.com/users/cjh5414/followers","following_url":"https://api.github.com/users/cjh5414/following{/other_user}","gists_url":"https://api.github.com/users/cjh5414/gists{/gist_id}","starred_url":"https://api.github.com/users/cjh5414/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjh5414/subscriptions","organizations_url":"https://api.github.com/users/cjh5414/orgs","repos_url":"https://api.github.com/users/cjh5414/repos","events_url":"https://api.github.com/users/cjh5414/events{/privacy}","received_events_url":"https://api.github.com/users/cjh5414/received_events","type":"User","site_admin":false},"body":"- Add test that hide delete post btn if user isn't authenticated\r\n- Hide delete btn if user isn't authenticated in post view","created_at":"2016-11-19T06:56:35Z","updated_at":"2016-11-19T08:13:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7409007e4fbbc340159c3c937e17057058f6f30e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/kboard/kboard/pulls/295/commits","review_comments_url":"https://api.github.com/repos/kboard/kboard/pulls/295/comments","review_comment_url":"https://api.github.com/repos/kboard/kboard/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kboard/kboard/issues/295/comments","statuses_url":"https://api.github.com/repos/kboard/kboard/statuses/722997afd5c07ef85f6eb7fbb7bc1a3ff3f94750","head":{"label":"cjh5414:feature/authenticated-delete","ref":"feature/authenticated-delete","sha":"722997afd5c07ef85f6eb7fbb7bc1a3ff3f94750","user":{"login":"cjh5414","id":14209486,"avatar_url":"https://avatars.githubusercontent.com/u/14209486?v=3","gravatar_id":"","url":"https://api.github.com/users/cjh5414","html_url":"https://github.com/cjh5414","followers_url":"https://api.github.com/users/cjh5414/followers","following_url":"https://api.github.com/users/cjh5414/following{/other_user}","gists_url":"https://api.github.com/users/cjh5414/gists{/gist_id}","starred_url":"https://api.github.com/users/cjh5414/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjh5414/subscriptions","organizations_url":"https://api.github.com/users/cjh5414/orgs","repos_url":"https://api.github.com/users/cjh5414/repos","events_url":"https://api.github.com/users/cjh5414/events{/privacy}","received_events_url":"https://api.github.com/users/cjh5414/received_events","type":"User","site_admin":false},"repo":{"id":67921081,"name":"kboard","full_name":"cjh5414/kboard","owner":{"login":"cjh5414","id":14209486,"avatar_url":"https://avatars.githubusercontent.com/u/14209486?v=3","gravatar_id":"","url":"https://api.github.com/users/cjh5414","html_url":"https://github.com/cjh5414","followers_url":"https://api.github.com/users/cjh5414/followers","following_url":"https://api.github.com/users/cjh5414/following{/other_user}","gists_url":"https://api.github.com/users/cjh5414/gists{/gist_id}","starred_url":"https://api.github.com/users/cjh5414/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjh5414/subscriptions","organizations_url":"https://api.github.com/users/cjh5414/orgs","repos_url":"https://api.github.com/users/cjh5414/repos","events_url":"https://api.github.com/users/cjh5414/events{/privacy}","received_events_url":"https://api.github.com/users/cjh5414/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cjh5414/kboard","description":"korean style board for community","fork":true,"url":"https://api.github.com/repos/cjh5414/kboard","forks_url":"https://api.github.com/repos/cjh5414/kboard/forks","keys_url":"https://api.github.com/repos/cjh5414/kboard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cjh5414/kboard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cjh5414/kboard/teams","hooks_url":"https://api.github.com/repos/cjh5414/kboard/hooks","issue_events_url":"https://api.github.com/repos/cjh5414/kboard/issues/events{/number}","events_url":"https://api.github.com/repos/cjh5414/kboard/events","assignees_url":"https://api.github.com/repos/cjh5414/kboard/assignees{/user}","branches_url":"https://api.github.com/repos/cjh5414/kboard/branches{/branch}","tags_url":"https://api.github.com/repos/cjh5414/kboard/tags","blobs_url":"https://api.github.com/repos/cjh5414/kboard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cjh5414/kboard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cjh5414/kboard/git/refs{/sha}","trees_url":"https://api.github.com/repos/cjh5414/kboard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cjh5414/kboard/statuses/{sha}","languages_url":"https://api.github.com/repos/cjh5414/kboard/languages","stargazers_url":"https://api.github.com/repos/cjh5414/kboard/stargazers","contributors_url":"https://api.github.com/repos/cjh5414/kboard/contributors","subscribers_url":"https://api.github.com/repos/cjh5414/kboard/subscribers","subscription_url":"https://api.github.com/repos/cjh5414/kboard/subscription","commits_url":"https://api.github.com/repos/cjh5414/kboard/commits{/sha}","git_commits_url":"https://api.github.com/repos/cjh5414/kboard/git/commits{/sha}","comments_url":"https://api.github.com/repos/cjh5414/kboard/comments{/number}","issue_comment_url":"https://api.github.com/repos/cjh5414/kboard/issues/comments{/number}","contents_url":"https://api.github.com/repos/cjh5414/kboard/contents/{+path}","compare_url":"https://api.github.com/repos/cjh5414/kboard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cjh5414/kboard/merges","archive_url":"https://api.github.com/repos/cjh5414/kboard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cjh5414/kboard/downloads","issues_url":"https://api.github.com/repos/cjh5414/kboard/issues{/number}","pulls_url":"https://api.github.com/repos/cjh5414/kboard/pulls{/number}","milestones_url":"https://api.github.com/repos/cjh5414/kboard/milestones{/number}","notifications_url":"https://api.github.com/repos/cjh5414/kboard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cjh5414/kboard/labels{/name}","releases_url":"https://api.github.com/repos/cjh5414/kboard/releases{/id}","deployments_url":"https://api.github.com/repos/cjh5414/kboard/deployments","created_at":"2016-09-11T09:17:44Z","updated_at":"2016-10-23T05:57:08Z","pushed_at":"2016-11-19T06:54:51Z","git_url":"git://github.com/cjh5414/kboard.git","ssh_url":"git@github.com:cjh5414/kboard.git","clone_url":"https://github.com/cjh5414/kboard.git","svn_url":"https://github.com/cjh5414/kboard","homepage":null,"size":5394,"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":"kboard:master","ref":"master","sha":"ef5237715c3ade19dc2c254bac7f740e956343dc","user":{"login":"kboard","id":22292529,"avatar_url":"https://avatars.githubusercontent.com/u/22292529?v=3","gravatar_id":"","url":"https://api.github.com/users/kboard","html_url":"https://github.com/kboard","followers_url":"https://api.github.com/users/kboard/followers","following_url":"https://api.github.com/users/kboard/following{/other_user}","gists_url":"https://api.github.com/users/kboard/gists{/gist_id}","starred_url":"https://api.github.com/users/kboard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kboard/subscriptions","organizations_url":"https://api.github.com/users/kboard/orgs","repos_url":"https://api.github.com/users/kboard/repos","events_url":"https://api.github.com/users/kboard/events{/privacy}","received_events_url":"https://api.github.com/users/kboard/received_events","type":"Organization","site_admin":false},"repo":{"id":45295259,"name":"kboard","full_name":"kboard/kboard","owner":{"login":"kboard","id":22292529,"avatar_url":"https://avatars.githubusercontent.com/u/22292529?v=3","gravatar_id":"","url":"https://api.github.com/users/kboard","html_url":"https://github.com/kboard","followers_url":"https://api.github.com/users/kboard/followers","following_url":"https://api.github.com/users/kboard/following{/other_user}","gists_url":"https://api.github.com/users/kboard/gists{/gist_id}","starred_url":"https://api.github.com/users/kboard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kboard/subscriptions","organizations_url":"https://api.github.com/users/kboard/orgs","repos_url":"https://api.github.com/users/kboard/repos","events_url":"https://api.github.com/users/kboard/events{/privacy}","received_events_url":"https://api.github.com/users/kboard/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kboard/kboard","description":"korean style board for community","fork":false,"url":"https://api.github.com/repos/kboard/kboard","forks_url":"https://api.github.com/repos/kboard/kboard/forks","keys_url":"https://api.github.com/repos/kboard/kboard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kboard/kboard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kboard/kboard/teams","hooks_url":"https://api.github.com/repos/kboard/kboard/hooks","issue_events_url":"https://api.github.com/repos/kboard/kboard/issues/events{/number}","events_url":"https://api.github.com/repos/kboard/kboard/events","assignees_url":"https://api.github.com/repos/kboard/kboard/assignees{/user}","branches_url":"https://api.github.com/repos/kboard/kboard/branches{/branch}","tags_url":"https://api.github.com/repos/kboard/kboard/tags","blobs_url":"https://api.github.com/repos/kboard/kboard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kboard/kboard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kboard/kboard/git/refs{/sha}","trees_url":"https://api.github.com/repos/kboard/kboard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kboard/kboard/statuses/{sha}","languages_url":"https://api.github.com/repos/kboard/kboard/languages","stargazers_url":"https://api.github.com/repos/kboard/kboard/stargazers","contributors_url":"https://api.github.com/repos/kboard/kboard/contributors","subscribers_url":"https://api.github.com/repos/kboard/kboard/subscribers","subscription_url":"https://api.github.com/repos/kboard/kboard/subscription","commits_url":"https://api.github.com/repos/kboard/kboard/commits{/sha}","git_commits_url":"https://api.github.com/repos/kboard/kboard/git/commits{/sha}","comments_url":"https://api.github.com/repos/kboard/kboard/comments{/number}","issue_comment_url":"https://api.github.com/repos/kboard/kboard/issues/comments{/number}","contents_url":"https://api.github.com/repos/kboard/kboard/contents/{+path}","compare_url":"https://api.github.com/repos/kboard/kboard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kboard/kboard/merges","archive_url":"https://api.github.com/repos/kboard/kboard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kboard/kboard/downloads","issues_url":"https://api.github.com/repos/kboard/kboard/issues{/number}","pulls_url":"https://api.github.com/repos/kboard/kboard/pulls{/number}","milestones_url":"https://api.github.com/repos/kboard/kboard/milestones{/number}","notifications_url":"https://api.github.com/repos/kboard/kboard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kboard/kboard/labels{/name}","releases_url":"https://api.github.com/repos/kboard/kboard/releases{/id}","deployments_url":"https://api.github.com/repos/kboard/kboard/deployments","created_at":"2015-10-31T08:56:56Z","updated_at":"2016-10-22T04:56:27Z","pushed_at":"2016-11-19T08:10:32Z","git_url":"git://github.com/kboard/kboard.git","ssh_url":"git@github.com:kboard/kboard.git","clone_url":"https://github.com/kboard/kboard.git","svn_url":"https://github.com/kboard/kboard","homepage":null,"size":7515,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":15,"forks":4,"open_issues":15,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kboard/kboard/pulls/295"},"html":{"href":"https://github.com/kboard/kboard/pull/295"},"issue":{"href":"https://api.github.com/repos/kboard/kboard/issues/295"},"comments":{"href":"https://api.github.com/repos/kboard/kboard/issues/295/comments"},"review_comments":{"href":"https://api.github.com/repos/kboard/kboard/pulls/295/comments"},"review_comment":{"href":"https://api.github.com/repos/kboard/kboard/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kboard/kboard/pulls/295/commits"},"statuses":{"href":"https://api.github.com/repos/kboard/kboard/statuses/722997afd5c07ef85f6eb7fbb7bc1a3ff3f94750"}}}}
{"actor":{"display_login":"guswnsxodlf"}}