{"action":"created","issue":{"url":"https://api.github.com/repos/matrix-org/synapse/issues/426","labels_url":"https://api.github.com/repos/matrix-org/synapse/issues/426/labels{/name}","comments_url":"https://api.github.com/repos/matrix-org/synapse/issues/426/comments","events_url":"https://api.github.com/repos/matrix-org/synapse/issues/426/events","html_url":"https://github.com/matrix-org/synapse/pull/426","id":120659016,"number":426,"title":"Fix mock import in tests.","user":{"login":"OlegGirko","id":6013515,"avatar_url":"https://avatars.githubusercontent.com/u/6013515?v=3","gravatar_id":"","url":"https://api.github.com/users/OlegGirko","html_url":"https://github.com/OlegGirko","followers_url":"https://api.github.com/users/OlegGirko/followers","following_url":"https://api.github.com/users/OlegGirko/following{/other_user}","gists_url":"https://api.github.com/users/OlegGirko/gists{/gist_id}","starred_url":"https://api.github.com/users/OlegGirko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlegGirko/subscriptions","organizations_url":"https://api.github.com/users/OlegGirko/orgs","repos_url":"https://api.github.com/users/OlegGirko/repos","events_url":"https://api.github.com/users/OlegGirko/events{/privacy}","received_events_url":"https://api.github.com/users/OlegGirko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"NegativeMjark","id":904009,"avatar_url":"https://avatars.githubusercontent.com/u/904009?v=3","gravatar_id":"","url":"https://api.github.com/users/NegativeMjark","html_url":"https://github.com/NegativeMjark","followers_url":"https://api.github.com/users/NegativeMjark/followers","following_url":"https://api.github.com/users/NegativeMjark/following{/other_user}","gists_url":"https://api.github.com/users/NegativeMjark/gists{/gist_id}","starred_url":"https://api.github.com/users/NegativeMjark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NegativeMjark/subscriptions","organizations_url":"https://api.github.com/users/NegativeMjark/orgs","repos_url":"https://api.github.com/users/NegativeMjark/repos","events_url":"https://api.github.com/users/NegativeMjark/events{/privacy}","received_events_url":"https://api.github.com/users/NegativeMjark/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-12-06T20:55:44Z","updated_at":"2015-12-07T13:13:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/matrix-org/synapse/pulls/426","html_url":"https://github.com/matrix-org/synapse/pull/426","diff_url":"https://github.com/matrix-org/synapse/pull/426.diff","patch_url":"https://github.com/matrix-org/synapse/pull/426.patch"},"body":"For some reason, one test imports `Mock` class from `mock.mock` rather than from `mock`.\r\nThis change fixes this error.\r\n"},"comment":{"url":"https://api.github.com/repos/matrix-org/synapse/issues/comments/162520515","html_url":"https://github.com/matrix-org/synapse/pull/426#issuecomment-162520515","issue_url":"https://api.github.com/repos/matrix-org/synapse/issues/426","id":162520515,"user":{"login":"NegativeMjark","id":904009,"avatar_url":"https://avatars.githubusercontent.com/u/904009?v=3","gravatar_id":"","url":"https://api.github.com/users/NegativeMjark","html_url":"https://github.com/NegativeMjark","followers_url":"https://api.github.com/users/NegativeMjark/followers","following_url":"https://api.github.com/users/NegativeMjark/following{/other_user}","gists_url":"https://api.github.com/users/NegativeMjark/gists{/gist_id}","starred_url":"https://api.github.com/users/NegativeMjark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NegativeMjark/subscriptions","organizations_url":"https://api.github.com/users/NegativeMjark/orgs","repos_url":"https://api.github.com/users/NegativeMjark/repos","events_url":"https://api.github.com/users/NegativeMjark/events{/privacy}","received_events_url":"https://api.github.com/users/NegativeMjark/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T13:13:07Z","updated_at":"2015-12-07T13:13:07Z","body":"LGTM"}}