{"action":"closed","number":23,"pull_request":{"url":"https://api.github.com/repos/plone/plone.app.testing/pulls/23","id":57770796,"html_url":"https://github.com/plone/plone.app.testing/pull/23","diff_url":"https://github.com/plone/plone.app.testing/pull/23.diff","patch_url":"https://github.com/plone/plone.app.testing/pull/23.patch","issue_url":"https://api.github.com/repos/plone/plone.app.testing/issues/23","number":23,"state":"closed","locked":false,"title":"Create a MockMailHostLayer layer","user":{"login":"gforcada","id":1155680,"avatar_url":"https://avatars.githubusercontent.com/u/1155680?v=3","gravatar_id":"","url":"https://api.github.com/users/gforcada","html_url":"https://github.com/gforcada","followers_url":"https://api.github.com/users/gforcada/followers","following_url":"https://api.github.com/users/gforcada/following{/other_user}","gists_url":"https://api.github.com/users/gforcada/gists{/gist_id}","starred_url":"https://api.github.com/users/gforcada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gforcada/subscriptions","organizations_url":"https://api.github.com/users/gforcada/orgs","repos_url":"https://api.github.com/users/gforcada/repos","events_url":"https://api.github.com/users/gforcada/events{/privacy}","received_events_url":"https://api.github.com/users/gforcada/received_events","type":"User","site_admin":false},"body":"This makes it easier to third party packages to test mail functionality.\r\n\r\nFixes: https://github.com/plone/plone.app.testing/issues/19\r\n\r\nQuestion: should we add this fixture to the integration and functional testing layers? i.e. to ``PLONE_INTEGRATION_TESTING``, ``PLONE_FUNCTIONAL_TESTING``, ``PLONE_ZSERVER`` and ``PLONE_FTP_SERVER`` ?\r\n\r\nI copied ``Products.CMFPlone.tests.utils.MockMailHost`` into here so that plone.app.testing does not depend on it (and the point of having it on CMFPlone becomes moot as soon as we have it here). A deprecation warning should be added in CMFPlone and later on removed.","created_at":"2016-01-31T15:06:28Z","updated_at":"2016-01-31T23:25:58Z","closed_at":"2016-01-31T23:25:58Z","merged_at":"2016-01-31T23:25:58Z","merge_commit_sha":"dfd23dde6d63ccd84aedbf46db44c0b80fb4c391","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/plone/plone.app.testing/pulls/23/commits","review_comments_url":"https://api.github.com/repos/plone/plone.app.testing/pulls/23/comments","review_comment_url":"https://api.github.com/repos/plone/plone.app.testing/pulls/comments{/number}","comments_url":"https://api.github.com/repos/plone/plone.app.testing/issues/23/comments","statuses_url":"https://api.github.com/repos/plone/plone.app.testing/statuses/2bff0f706e2d66f95bccecf4efe350ec1f457d37","head":{"label":"plone:gforcada-mockmailhost","ref":"gforcada-mockmailhost","sha":"2bff0f706e2d66f95bccecf4efe350ec1f457d37","user":{"login":"plone","id":72034,"avatar_url":"https://avatars.githubusercontent.com/u/72034?v=3","gravatar_id":"","url":"https://api.github.com/users/plone","html_url":"https://github.com/plone","followers_url":"https://api.github.com/users/plone/followers","following_url":"https://api.github.com/users/plone/following{/other_user}","gists_url":"https://api.github.com/users/plone/gists{/gist_id}","starred_url":"https://api.github.com/users/plone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plone/subscriptions","organizations_url":"https://api.github.com/users/plone/orgs","repos_url":"https://api.github.com/users/plone/repos","events_url":"https://api.github.com/users/plone/events{/privacy}","received_events_url":"https://api.github.com/users/plone/received_events","type":"Organization","site_admin":false},"repo":{"id":2452789,"name":"plone.app.testing","full_name":"plone/plone.app.testing","owner":{"login":"plone","id":72034,"avatar_url":"https://avatars.githubusercontent.com/u/72034?v=3","gravatar_id":"","url":"https://api.github.com/users/plone","html_url":"https://github.com/plone","followers_url":"https://api.github.com/users/plone/followers","following_url":"https://api.github.com/users/plone/following{/other_user}","gists_url":"https://api.github.com/users/plone/gists{/gist_id}","starred_url":"https://api.github.com/users/plone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plone/subscriptions","organizations_url":"https://api.github.com/users/plone/orgs","repos_url":"https://api.github.com/users/plone/repos","events_url":"https://api.github.com/users/plone/events{/privacy}","received_events_url":"https://api.github.com/users/plone/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/plone/plone.app.testing","description":"Testing tools for Plone-the-application","fork":false,"url":"https://api.github.com/repos/plone/plone.app.testing","forks_url":"https://api.github.com/repos/plone/plone.app.testing/forks","keys_url":"https://api.github.com/repos/plone/plone.app.testing/keys{/key_id}","collaborators_url":"https://api.github.com/repos/plone/plone.app.testing/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/plone/plone.app.testing/teams","hooks_url":"https://api.github.com/repos/plone/plone.app.testing/hooks","issue_events_url":"https://api.github.com/repos/plone/plone.app.testing/issues/events{/number}","events_url":"https://api.github.com/repos/plone/plone.app.testing/events","assignees_url":"https://api.github.com/repos/plone/plone.app.testing/assignees{/user}","branches_url":"https://api.github.com/repos/plone/plone.app.testing/branches{/branch}","tags_url":"https://api.github.com/repos/plone/plone.app.testing/tags","blobs_url":"https://api.github.com/repos/plone/plone.app.testing/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/plone/plone.app.testing/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/plone/plone.app.testing/git/refs{/sha}","trees_url":"https://api.github.com/repos/plone/plone.app.testing/git/trees{/sha}","statuses_url":"https://api.github.com/repos/plone/plone.app.testing/statuses/{sha}","languages_url":"https://api.github.com/repos/plone/plone.app.testing/languages","stargazers_url":"https://api.github.com/repos/plone/plone.app.testing/stargazers","contributors_url":"https://api.github.com/repos/plone/plone.app.testing/contributors","subscribers_url":"https://api.github.com/repos/plone/plone.app.testing/subscribers","subscription_url":"https://api.github.com/repos/plone/plone.app.testing/subscription","commits_url":"https://api.github.com/repos/plone/plone.app.testing/commits{/sha}","git_commits_url":"https://api.github.com/repos/plone/plone.app.testing/git/commits{/sha}","comments_url":"https://api.github.com/repos/plone/plone.app.testing/comments{/number}","issue_comment_url":"https://api.github.com/repos/plone/plone.app.testing/issues/comments{/number}","contents_url":"https://api.github.com/repos/plone/plone.app.testing/contents/{+path}","compare_url":"https://api.github.com/repos/plone/plone.app.testing/compare/{base}...{head}","merges_url":"https://api.github.com/repos/plone/plone.app.testing/merges","archive_url":"https://api.github.com/repos/plone/plone.app.testing/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/plone/plone.app.testing/downloads","issues_url":"https://api.github.com/repos/plone/plone.app.testing/issues{/number}","pulls_url":"https://api.github.com/repos/plone/plone.app.testing/pulls{/number}","milestones_url":"https://api.github.com/repos/plone/plone.app.testing/milestones{/number}","notifications_url":"https://api.github.com/repos/plone/plone.app.testing/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/plone/plone.app.testing/labels{/name}","releases_url":"https://api.github.com/repos/plone/plone.app.testing/releases{/id}","deployments_url":"https://api.github.com/repos/plone/plone.app.testing/deployments","created_at":"2011-09-25T01:45:51Z","updated_at":"2015-05-04T22:20:39Z","pushed_at":"2016-01-31T23:26:00Z","git_url":"git://github.com/plone/plone.app.testing.git","ssh_url":"git@github.com:plone/plone.app.testing.git","clone_url":"https://github.com/plone/plone.app.testing.git","svn_url":"https://github.com/plone/plone.app.testing","homepage":"http://pypi.python.org/pypi/plone.app.testing","size":474,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":2,"forks":6,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"plone:master","ref":"master","sha":"29b561ca31be14432de579d46d067473383fa9f2","user":{"login":"plone","id":72034,"avatar_url":"https://avatars.githubusercontent.com/u/72034?v=3","gravatar_id":"","url":"https://api.github.com/users/plone","html_url":"https://github.com/plone","followers_url":"https://api.github.com/users/plone/followers","following_url":"https://api.github.com/users/plone/following{/other_user}","gists_url":"https://api.github.com/users/plone/gists{/gist_id}","starred_url":"https://api.github.com/users/plone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plone/subscriptions","organizations_url":"https://api.github.com/users/plone/orgs","repos_url":"https://api.github.com/users/plone/repos","events_url":"https://api.github.com/users/plone/events{/privacy}","received_events_url":"https://api.github.com/users/plone/received_events","type":"Organization","site_admin":false},"repo":{"id":2452789,"name":"plone.app.testing","full_name":"plone/plone.app.testing","owner":{"login":"plone","id":72034,"avatar_url":"https://avatars.githubusercontent.com/u/72034?v=3","gravatar_id":"","url":"https://api.github.com/users/plone","html_url":"https://github.com/plone","followers_url":"https://api.github.com/users/plone/followers","following_url":"https://api.github.com/users/plone/following{/other_user}","gists_url":"https://api.github.com/users/plone/gists{/gist_id}","starred_url":"https://api.github.com/users/plone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plone/subscriptions","organizations_url":"https://api.github.com/users/plone/orgs","repos_url":"https://api.github.com/users/plone/repos","events_url":"https://api.github.com/users/plone/events{/privacy}","received_events_url":"https://api.github.com/users/plone/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/plone/plone.app.testing","description":"Testing tools for Plone-the-application","fork":false,"url":"https://api.github.com/repos/plone/plone.app.testing","forks_url":"https://api.github.com/repos/plone/plone.app.testing/forks","keys_url":"https://api.github.com/repos/plone/plone.app.testing/keys{/key_id}","collaborators_url":"https://api.github.com/repos/plone/plone.app.testing/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/plone/plone.app.testing/teams","hooks_url":"https://api.github.com/repos/plone/plone.app.testing/hooks","issue_events_url":"https://api.github.com/repos/plone/plone.app.testing/issues/events{/number}","events_url":"https://api.github.com/repos/plone/plone.app.testing/events","assignees_url":"https://api.github.com/repos/plone/plone.app.testing/assignees{/user}","branches_url":"https://api.github.com/repos/plone/plone.app.testing/branches{/branch}","tags_url":"https://api.github.com/repos/plone/plone.app.testing/tags","blobs_url":"https://api.github.com/repos/plone/plone.app.testing/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/plone/plone.app.testing/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/plone/plone.app.testing/git/refs{/sha}","trees_url":"https://api.github.com/repos/plone/plone.app.testing/git/trees{/sha}","statuses_url":"https://api.github.com/repos/plone/plone.app.testing/statuses/{sha}","languages_url":"https://api.github.com/repos/plone/plone.app.testing/languages","stargazers_url":"https://api.github.com/repos/plone/plone.app.testing/stargazers","contributors_url":"https://api.github.com/repos/plone/plone.app.testing/contributors","subscribers_url":"https://api.github.com/repos/plone/plone.app.testing/subscribers","subscription_url":"https://api.github.com/repos/plone/plone.app.testing/subscription","commits_url":"https://api.github.com/repos/plone/plone.app.testing/commits{/sha}","git_commits_url":"https://api.github.com/repos/plone/plone.app.testing/git/commits{/sha}","comments_url":"https://api.github.com/repos/plone/plone.app.testing/comments{/number}","issue_comment_url":"https://api.github.com/repos/plone/plone.app.testing/issues/comments{/number}","contents_url":"https://api.github.com/repos/plone/plone.app.testing/contents/{+path}","compare_url":"https://api.github.com/repos/plone/plone.app.testing/compare/{base}...{head}","merges_url":"https://api.github.com/repos/plone/plone.app.testing/merges","archive_url":"https://api.github.com/repos/plone/plone.app.testing/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/plone/plone.app.testing/downloads","issues_url":"https://api.github.com/repos/plone/plone.app.testing/issues{/number}","pulls_url":"https://api.github.com/repos/plone/plone.app.testing/pulls{/number}","milestones_url":"https://api.github.com/repos/plone/plone.app.testing/milestones{/number}","notifications_url":"https://api.github.com/repos/plone/plone.app.testing/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/plone/plone.app.testing/labels{/name}","releases_url":"https://api.github.com/repos/plone/plone.app.testing/releases{/id}","deployments_url":"https://api.github.com/repos/plone/plone.app.testing/deployments","created_at":"2011-09-25T01:45:51Z","updated_at":"2015-05-04T22:20:39Z","pushed_at":"2016-01-31T23:26:00Z","git_url":"git://github.com/plone/plone.app.testing.git","ssh_url":"git@github.com:plone/plone.app.testing.git","clone_url":"https://github.com/plone/plone.app.testing.git","svn_url":"https://github.com/plone/plone.app.testing","homepage":"http://pypi.python.org/pypi/plone.app.testing","size":474,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":2,"forks":6,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/plone/plone.app.testing/pulls/23"},"html":{"href":"https://github.com/plone/plone.app.testing/pull/23"},"issue":{"href":"https://api.github.com/repos/plone/plone.app.testing/issues/23"},"comments":{"href":"https://api.github.com/repos/plone/plone.app.testing/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/plone/plone.app.testing/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/plone/plone.app.testing/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/plone/plone.app.testing/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/plone/plone.app.testing/statuses/2bff0f706e2d66f95bccecf4efe350ec1f457d37"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jensens","id":157140,"avatar_url":"https://avatars.githubusercontent.com/u/157140?v=3","gravatar_id":"","url":"https://api.github.com/users/jensens","html_url":"https://github.com/jensens","followers_url":"https://api.github.com/users/jensens/followers","following_url":"https://api.github.com/users/jensens/following{/other_user}","gists_url":"https://api.github.com/users/jensens/gists{/gist_id}","starred_url":"https://api.github.com/users/jensens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jensens/subscriptions","organizations_url":"https://api.github.com/users/jensens/orgs","repos_url":"https://api.github.com/users/jensens/repos","events_url":"https://api.github.com/users/jensens/events{/privacy}","received_events_url":"https://api.github.com/users/jensens/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":3,"additions":104,"deletions":1,"changed_files":5}}