{"action":"created","comment":{"url":"https://api.github.com/repos/4teamwork/collective.deletepermission/pulls/comments/242132240","pull_request_review_id":185570471,"id":242132240,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MjEzMjI0MA==","diff_hunk":"@@ -27,13 +27,11 @@ def set_local_roles(self, context, user, *roles):\n         context.reindexObjectSecurity()\n         transaction.commit()\n \n-    def get_status_messages(self):\n-        request = self.layer['request']\n-        messages = [msg.message for msg in IStatusMessage(request).show()]\n-        return messages\n-\n     def get_actions(self):\n-        return browser.css('#plone-contentmenu-actions .actionMenuContent a').text\n+        if testing.IS_PLONE_5_OR_GREATER:\n+            return browser.css('#plone-contentmenu-actions .plonetoolbar-content-action a').text","path":"collective/deletepermission/tests/base.py","position":28,"original_position":28,"commit_id":"bbebbf7423f9a0ae033c2583fe7c16cc97356568","original_commit_id":"b82edab72cbffafdb8491d57b5a493a5c9bcbfea","user":{"login":"jone","id":7469,"node_id":"MDQ6VXNlcjc0Njk=","avatar_url":"https://avatars3.githubusercontent.com/u/7469?v=4","gravatar_id":"","url":"https://api.github.com/users/jone","html_url":"https://github.com/jone","followers_url":"https://api.github.com/users/jone/followers","following_url":"https://api.github.com/users/jone/following{/other_user}","gists_url":"https://api.github.com/users/jone/gists{/gist_id}","starred_url":"https://api.github.com/users/jone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jone/subscriptions","organizations_url":"https://api.github.com/users/jone/orgs","repos_url":"https://api.github.com/users/jone/repos","events_url":"https://api.github.com/users/jone/events{/privacy}","received_events_url":"https://api.github.com/users/jone/received_events","type":"User","site_admin":false},"body":"We could use the `editbar` page object here -> https://github.com/4teamwork/ftw.testbrowser/blob/master/ftw/testbrowser/pages/editbar.py#L79","created_at":"2018-12-17T12:43:35Z","updated_at":"2018-12-17T12:46:03Z","html_url":"https://github.com/4teamwork/collective.deletepermission/pull/19#discussion_r242132240","pull_request_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/pulls/19","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/4teamwork/collective.deletepermission/pulls/comments/242132240"},"html":{"href":"https://github.com/4teamwork/collective.deletepermission/pull/19#discussion_r242132240"},"pull_request":{"href":"https://api.github.com/repos/4teamwork/collective.deletepermission/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/4teamwork/collective.deletepermission/pulls/19","id":239071123,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM5MDcxMTIz","html_url":"https://github.com/4teamwork/collective.deletepermission/pull/19","diff_url":"https://github.com/4teamwork/collective.deletepermission/pull/19.diff","patch_url":"https://github.com/4teamwork/collective.deletepermission/pull/19.patch","issue_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/issues/19","number":19,"state":"open","locked":false,"title":"Add support for Plone 5.1.x","user":{"login":"mbaechtold","id":28220,"node_id":"MDQ6VXNlcjI4MjIw","avatar_url":"https://avatars3.githubusercontent.com/u/28220?v=4","gravatar_id":"","url":"https://api.github.com/users/mbaechtold","html_url":"https://github.com/mbaechtold","followers_url":"https://api.github.com/users/mbaechtold/followers","following_url":"https://api.github.com/users/mbaechtold/following{/other_user}","gists_url":"https://api.github.com/users/mbaechtold/gists{/gist_id}","starred_url":"https://api.github.com/users/mbaechtold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbaechtold/subscriptions","organizations_url":"https://api.github.com/users/mbaechtold/orgs","repos_url":"https://api.github.com/users/mbaechtold/repos","events_url":"https://api.github.com/users/mbaechtold/events{/privacy}","received_events_url":"https://api.github.com/users/mbaechtold/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-12-17T09:09:47Z","updated_at":"2018-12-17T12:46:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9f08f558efe382131605a6e4d6e8f1282f6c32d3","assignee":{"login":"mbaechtold","id":28220,"node_id":"MDQ6VXNlcjI4MjIw","avatar_url":"https://avatars3.githubusercontent.com/u/28220?v=4","gravatar_id":"","url":"https://api.github.com/users/mbaechtold","html_url":"https://github.com/mbaechtold","followers_url":"https://api.github.com/users/mbaechtold/followers","following_url":"https://api.github.com/users/mbaechtold/following{/other_user}","gists_url":"https://api.github.com/users/mbaechtold/gists{/gist_id}","starred_url":"https://api.github.com/users/mbaechtold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbaechtold/subscriptions","organizations_url":"https://api.github.com/users/mbaechtold/orgs","repos_url":"https://api.github.com/users/mbaechtold/repos","events_url":"https://api.github.com/users/mbaechtold/events{/privacy}","received_events_url":"https://api.github.com/users/mbaechtold/received_events","type":"User","site_admin":false},"assignees":[{"login":"mbaechtold","id":28220,"node_id":"MDQ6VXNlcjI4MjIw","avatar_url":"https://avatars3.githubusercontent.com/u/28220?v=4","gravatar_id":"","url":"https://api.github.com/users/mbaechtold","html_url":"https://github.com/mbaechtold","followers_url":"https://api.github.com/users/mbaechtold/followers","following_url":"https://api.github.com/users/mbaechtold/following{/other_user}","gists_url":"https://api.github.com/users/mbaechtold/gists{/gist_id}","starred_url":"https://api.github.com/users/mbaechtold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbaechtold/subscriptions","organizations_url":"https://api.github.com/users/mbaechtold/orgs","repos_url":"https://api.github.com/users/mbaechtold/repos","events_url":"https://api.github.com/users/mbaechtold/events{/privacy}","received_events_url":"https://api.github.com/users/mbaechtold/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/pulls/19/commits","review_comments_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/pulls/19/comments","review_comment_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/pulls/comments{/number}","comments_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/issues/19/comments","statuses_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/statuses/bbebbf7423f9a0ae033c2583fe7c16cc97356568","head":{"label":"4teamwork:plone-5.1.x","ref":"plone-5.1.x","sha":"bbebbf7423f9a0ae033c2583fe7c16cc97356568","user":{"login":"4teamwork","id":681821,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4MTgyMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/681821?v=4","gravatar_id":"","url":"https://api.github.com/users/4teamwork","html_url":"https://github.com/4teamwork","followers_url":"https://api.github.com/users/4teamwork/followers","following_url":"https://api.github.com/users/4teamwork/following{/other_user}","gists_url":"https://api.github.com/users/4teamwork/gists{/gist_id}","starred_url":"https://api.github.com/users/4teamwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4teamwork/subscriptions","organizations_url":"https://api.github.com/users/4teamwork/orgs","repos_url":"https://api.github.com/users/4teamwork/repos","events_url":"https://api.github.com/users/4teamwork/events{/privacy}","received_events_url":"https://api.github.com/users/4teamwork/received_events","type":"Organization","site_admin":false},"repo":{"id":7483700,"node_id":"MDEwOlJlcG9zaXRvcnk3NDgzNzAw","name":"collective.deletepermission","full_name":"4teamwork/collective.deletepermission","private":false,"owner":{"login":"4teamwork","id":681821,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4MTgyMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/681821?v=4","gravatar_id":"","url":"https://api.github.com/users/4teamwork","html_url":"https://github.com/4teamwork","followers_url":"https://api.github.com/users/4teamwork/followers","following_url":"https://api.github.com/users/4teamwork/following{/other_user}","gists_url":"https://api.github.com/users/4teamwork/gists{/gist_id}","starred_url":"https://api.github.com/users/4teamwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4teamwork/subscriptions","organizations_url":"https://api.github.com/users/4teamwork/orgs","repos_url":"https://api.github.com/users/4teamwork/repos","events_url":"https://api.github.com/users/4teamwork/events{/privacy}","received_events_url":"https://api.github.com/users/4teamwork/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/4teamwork/collective.deletepermission","description":"Implements a new permission \"Delete portal content\" for Plone.","fork":false,"url":"https://api.github.com/repos/4teamwork/collective.deletepermission","forks_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/forks","keys_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/keys{/key_id}","collaborators_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/teams","hooks_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/hooks","issue_events_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/issues/events{/number}","events_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/events","assignees_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/assignees{/user}","branches_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/branches{/branch}","tags_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/tags","blobs_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/git/refs{/sha}","trees_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/git/trees{/sha}","statuses_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/statuses/{sha}","languages_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/languages","stargazers_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/stargazers","contributors_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/contributors","subscribers_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/subscribers","subscription_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/subscription","commits_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/commits{/sha}","git_commits_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/git/commits{/sha}","comments_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/comments{/number}","issue_comment_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/issues/comments{/number}","contents_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/contents/{+path}","compare_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/compare/{base}...{head}","merges_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/merges","archive_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/downloads","issues_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/issues{/number}","pulls_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/pulls{/number}","milestones_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/milestones{/number}","notifications_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/labels{/name}","releases_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/releases{/id}","deployments_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/deployments","created_at":"2013-01-07T14:32:32Z","updated_at":"2017-06-01T11:50:28Z","pushed_at":"2018-12-17T12:45:21Z","git_url":"git://github.com/4teamwork/collective.deletepermission.git","ssh_url":"git@github.com:4teamwork/collective.deletepermission.git","clone_url":"https://github.com/4teamwork/collective.deletepermission.git","svn_url":"https://github.com/4teamwork/collective.deletepermission","homepage":"","size":114,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":2,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"4teamwork:master","ref":"master","sha":"c13312cf9dcb44c87d109bc7f3a656b18423e99b","user":{"login":"4teamwork","id":681821,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4MTgyMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/681821?v=4","gravatar_id":"","url":"https://api.github.com/users/4teamwork","html_url":"https://github.com/4teamwork","followers_url":"https://api.github.com/users/4teamwork/followers","following_url":"https://api.github.com/users/4teamwork/following{/other_user}","gists_url":"https://api.github.com/users/4teamwork/gists{/gist_id}","starred_url":"https://api.github.com/users/4teamwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4teamwork/subscriptions","organizations_url":"https://api.github.com/users/4teamwork/orgs","repos_url":"https://api.github.com/users/4teamwork/repos","events_url":"https://api.github.com/users/4teamwork/events{/privacy}","received_events_url":"https://api.github.com/users/4teamwork/received_events","type":"Organization","site_admin":false},"repo":{"id":7483700,"node_id":"MDEwOlJlcG9zaXRvcnk3NDgzNzAw","name":"collective.deletepermission","full_name":"4teamwork/collective.deletepermission","private":false,"owner":{"login":"4teamwork","id":681821,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4MTgyMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/681821?v=4","gravatar_id":"","url":"https://api.github.com/users/4teamwork","html_url":"https://github.com/4teamwork","followers_url":"https://api.github.com/users/4teamwork/followers","following_url":"https://api.github.com/users/4teamwork/following{/other_user}","gists_url":"https://api.github.com/users/4teamwork/gists{/gist_id}","starred_url":"https://api.github.com/users/4teamwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4teamwork/subscriptions","organizations_url":"https://api.github.com/users/4teamwork/orgs","repos_url":"https://api.github.com/users/4teamwork/repos","events_url":"https://api.github.com/users/4teamwork/events{/privacy}","received_events_url":"https://api.github.com/users/4teamwork/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/4teamwork/collective.deletepermission","description":"Implements a new permission \"Delete portal content\" for Plone.","fork":false,"url":"https://api.github.com/repos/4teamwork/collective.deletepermission","forks_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/forks","keys_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/keys{/key_id}","collaborators_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/teams","hooks_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/hooks","issue_events_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/issues/events{/number}","events_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/events","assignees_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/assignees{/user}","branches_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/branches{/branch}","tags_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/tags","blobs_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/git/refs{/sha}","trees_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/git/trees{/sha}","statuses_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/statuses/{sha}","languages_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/languages","stargazers_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/stargazers","contributors_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/contributors","subscribers_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/subscribers","subscription_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/subscription","commits_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/commits{/sha}","git_commits_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/git/commits{/sha}","comments_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/comments{/number}","issue_comment_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/issues/comments{/number}","contents_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/contents/{+path}","compare_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/compare/{base}...{head}","merges_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/merges","archive_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/downloads","issues_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/issues{/number}","pulls_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/pulls{/number}","milestones_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/milestones{/number}","notifications_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/labels{/name}","releases_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/releases{/id}","deployments_url":"https://api.github.com/repos/4teamwork/collective.deletepermission/deployments","created_at":"2013-01-07T14:32:32Z","updated_at":"2017-06-01T11:50:28Z","pushed_at":"2018-12-17T12:45:21Z","git_url":"git://github.com/4teamwork/collective.deletepermission.git","ssh_url":"git@github.com:4teamwork/collective.deletepermission.git","clone_url":"https://github.com/4teamwork/collective.deletepermission.git","svn_url":"https://github.com/4teamwork/collective.deletepermission","homepage":"","size":114,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":2,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/4teamwork/collective.deletepermission/pulls/19"},"html":{"href":"https://github.com/4teamwork/collective.deletepermission/pull/19"},"issue":{"href":"https://api.github.com/repos/4teamwork/collective.deletepermission/issues/19"},"comments":{"href":"https://api.github.com/repos/4teamwork/collective.deletepermission/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/4teamwork/collective.deletepermission/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/4teamwork/collective.deletepermission/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/4teamwork/collective.deletepermission/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/4teamwork/collective.deletepermission/statuses/bbebbf7423f9a0ae033c2583fe7c16cc97356568"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"jone"}}