{"action":"created","issue":{"url":"https://api.github.com/repos/ckan/ckanext-datapackager/issues/47","repository_url":"https://api.github.com/repos/ckan/ckanext-datapackager","labels_url":"https://api.github.com/repos/ckan/ckanext-datapackager/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/ckan/ckanext-datapackager/issues/47/comments","events_url":"https://api.github.com/repos/ckan/ckanext-datapackager/issues/47/events","html_url":"https://github.com/ckan/ckanext-datapackager/pull/47","id":158356309,"number":47,"title":"Replace httpretty with requests_mock","user":{"login":"k-nut","id":1096357,"avatar_url":"https://avatars.githubusercontent.com/u/1096357?v=3","gravatar_id":"","url":"https://api.github.com/users/k-nut","html_url":"https://github.com/k-nut","followers_url":"https://api.github.com/users/k-nut/followers","following_url":"https://api.github.com/users/k-nut/following{/other_user}","gists_url":"https://api.github.com/users/k-nut/gists{/gist_id}","starred_url":"https://api.github.com/users/k-nut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k-nut/subscriptions","organizations_url":"https://api.github.com/users/k-nut/orgs","repos_url":"https://api.github.com/users/k-nut/repos","events_url":"https://api.github.com/users/k-nut/events{/privacy}","received_events_url":"https://api.github.com/users/k-nut/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"vitorbaptista","id":76945,"avatar_url":"https://avatars.githubusercontent.com/u/76945?v=3","gravatar_id":"","url":"https://api.github.com/users/vitorbaptista","html_url":"https://github.com/vitorbaptista","followers_url":"https://api.github.com/users/vitorbaptista/followers","following_url":"https://api.github.com/users/vitorbaptista/following{/other_user}","gists_url":"https://api.github.com/users/vitorbaptista/gists{/gist_id}","starred_url":"https://api.github.com/users/vitorbaptista/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitorbaptista/subscriptions","organizations_url":"https://api.github.com/users/vitorbaptista/orgs","repos_url":"https://api.github.com/users/vitorbaptista/repos","events_url":"https://api.github.com/users/vitorbaptista/events{/privacy}","received_events_url":"https://api.github.com/users/vitorbaptista/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2016-06-03T12:29:02Z","updated_at":"2016-06-03T13:14:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ckan/ckanext-datapackager/pulls/47","html_url":"https://github.com/ckan/ckanext-datapackager/pull/47","diff_url":"https://github.com/ckan/ckanext-datapackager/pull/47.diff","patch_url":"https://github.com/ckan/ckanext-datapackager/pull/47.patch"},"body":"Fixes #32 \r\n\r\nAs addressed in #32 there were some problems with httpretty blocking all requests that were made by the application under test. This PR changes the mocking library to [requests_mock](https://pypi.python.org/pypi/requests-mock) which works as desired.\r\n\r\nAs a result all tests are passing again 🎉 "},"comment":{"url":"https://api.github.com/repos/ckan/ckanext-datapackager/issues/comments/223575269","html_url":"https://github.com/ckan/ckanext-datapackager/pull/47#issuecomment-223575269","issue_url":"https://api.github.com/repos/ckan/ckanext-datapackager/issues/47","id":223575269,"user":{"login":"k-nut","id":1096357,"avatar_url":"https://avatars.githubusercontent.com/u/1096357?v=3","gravatar_id":"","url":"https://api.github.com/users/k-nut","html_url":"https://github.com/k-nut","followers_url":"https://api.github.com/users/k-nut/followers","following_url":"https://api.github.com/users/k-nut/following{/other_user}","gists_url":"https://api.github.com/users/k-nut/gists{/gist_id}","starred_url":"https://api.github.com/users/k-nut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k-nut/subscriptions","organizations_url":"https://api.github.com/users/k-nut/orgs","repos_url":"https://api.github.com/users/k-nut/repos","events_url":"https://api.github.com/users/k-nut/events{/privacy}","received_events_url":"https://api.github.com/users/k-nut/received_events","type":"User","site_admin":false},"created_at":"2016-06-03T13:14:21Z","updated_at":"2016-06-03T13:14:21Z","body":"@vitorbaptista correct. If this is not done ckan will complain because it cannot connect to solr. So we still mock the http requests under test but do not have to care about what ckan core does."}}
{"actor":{"display_login":"k-nut"}}