{"action":"created","issue":{"url":"https://api.github.com/repos/Pylons/pyramid_mailer/issues/79","repository_url":"https://api.github.com/repos/Pylons/pyramid_mailer","labels_url":"https://api.github.com/repos/Pylons/pyramid_mailer/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/Pylons/pyramid_mailer/issues/79/comments","events_url":"https://api.github.com/repos/Pylons/pyramid_mailer/issues/79/events","html_url":"https://github.com/Pylons/pyramid_mailer/issues/79","id":193996214,"number":79,"title":"pyramid_mailer.testing doesn't add mailer to the request object","user":{"login":"dfee","id":262602,"avatar_url":"https://avatars.githubusercontent.com/u/262602?v=3","gravatar_id":"","url":"https://api.github.com/users/dfee","html_url":"https://github.com/dfee","followers_url":"https://api.github.com/users/dfee/followers","following_url":"https://api.github.com/users/dfee/following{/other_user}","gists_url":"https://api.github.com/users/dfee/gists{/gist_id}","starred_url":"https://api.github.com/users/dfee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfee/subscriptions","organizations_url":"https://api.github.com/users/dfee/orgs","repos_url":"https://api.github.com/users/dfee/repos","events_url":"https://api.github.com/users/dfee/events{/privacy}","received_events_url":"https://api.github.com/users/dfee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-07T09:19:19Z","updated_at":"2016-12-08T16:52:46Z","closed_at":null,"body":"As stated in the title, using `pyramid.includes = pyramid_mailer.testing` won't add the `mailer` attribute to a request object, while `pyramid.includes = pyramid_mailer` does add the attribute.\r\n\r\nThis almost seems like an oversight, except that that [testing.py](https://github.com/Pylons/pyramid_mailer/blob/master/pyramid_mailer/testing.py) was last touched almost six years ago (and I can't find a history of anyone complaining about this).\r\n\r\nWhat was the reasoning behind this?"},"comment":{"url":"https://api.github.com/repos/Pylons/pyramid_mailer/issues/comments/265791393","html_url":"https://github.com/Pylons/pyramid_mailer/issues/79#issuecomment-265791393","issue_url":"https://api.github.com/repos/Pylons/pyramid_mailer/issues/79","id":265791393,"user":{"login":"mmerickel","id":487237,"avatar_url":"https://avatars.githubusercontent.com/u/487237?v=3","gravatar_id":"","url":"https://api.github.com/users/mmerickel","html_url":"https://github.com/mmerickel","followers_url":"https://api.github.com/users/mmerickel/followers","following_url":"https://api.github.com/users/mmerickel/following{/other_user}","gists_url":"https://api.github.com/users/mmerickel/gists{/gist_id}","starred_url":"https://api.github.com/users/mmerickel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmerickel/subscriptions","organizations_url":"https://api.github.com/users/mmerickel/orgs","repos_url":"https://api.github.com/users/mmerickel/repos","events_url":"https://api.github.com/users/mmerickel/events{/privacy}","received_events_url":"https://api.github.com/users/mmerickel/received_events","type":"User","site_admin":false},"created_at":"2016-12-08T16:52:46Z","updated_at":"2016-12-08T16:52:46Z","body":"Would you be interested in submitting a PR that adds the request method to the testing includeme and an associated test?"}}
{"actor":{"display_login":"mmerickel"}}