{"action":"created","issue":{"url":"https://api.github.com/repos/inspirehep/inspire-next/issues/839","repository_url":"https://api.github.com/repos/inspirehep/inspire-next","labels_url":"https://api.github.com/repos/inspirehep/inspire-next/issues/839/labels{/name}","comments_url":"https://api.github.com/repos/inspirehep/inspire-next/issues/839/comments","events_url":"https://api.github.com/repos/inspirehep/inspire-next/issues/839/events","html_url":"https://github.com/inspirehep/inspire-next/pull/839","id":131915231,"number":839,"title":"tests: unit test utils","user":{"login":"jacquerie","id":381280,"avatar_url":"https://avatars.githubusercontent.com/u/381280?v=3","gravatar_id":"","url":"https://api.github.com/users/jacquerie","html_url":"https://github.com/jacquerie","followers_url":"https://api.github.com/users/jacquerie/followers","following_url":"https://api.github.com/users/jacquerie/following{/other_user}","gists_url":"https://api.github.com/users/jacquerie/gists{/gist_id}","starred_url":"https://api.github.com/users/jacquerie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacquerie/subscriptions","organizations_url":"https://api.github.com/users/jacquerie/orgs","repos_url":"https://api.github.com/users/jacquerie/repos","events_url":"https://api.github.com/users/jacquerie/events{/privacy}","received_events_url":"https://api.github.com/users/jacquerie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"jacquerie","id":381280,"avatar_url":"https://avatars.githubusercontent.com/u/381280?v=3","gravatar_id":"","url":"https://api.github.com/users/jacquerie","html_url":"https://github.com/jacquerie","followers_url":"https://api.github.com/users/jacquerie/followers","following_url":"https://api.github.com/users/jacquerie/following{/other_user}","gists_url":"https://api.github.com/users/jacquerie/gists{/gist_id}","starred_url":"https://api.github.com/users/jacquerie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacquerie/subscriptions","organizations_url":"https://api.github.com/users/jacquerie/orgs","repos_url":"https://api.github.com/users/jacquerie/repos","events_url":"https://api.github.com/users/jacquerie/events{/privacy}","received_events_url":"https://api.github.com/users/jacquerie/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/inspirehep/inspire-next/milestones/18","html_url":"https://github.com/inspirehep/inspire-next/milestones/AB%20Meeting","labels_url":"https://api.github.com/repos/inspirehep/inspire-next/milestones/18/labels","id":1605656,"number":18,"title":"AB Meeting","description":"","creator":{"login":"jmartinm","id":580727,"avatar_url":"https://avatars.githubusercontent.com/u/580727?v=3","gravatar_id":"","url":"https://api.github.com/users/jmartinm","html_url":"https://github.com/jmartinm","followers_url":"https://api.github.com/users/jmartinm/followers","following_url":"https://api.github.com/users/jmartinm/following{/other_user}","gists_url":"https://api.github.com/users/jmartinm/gists{/gist_id}","starred_url":"https://api.github.com/users/jmartinm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmartinm/subscriptions","organizations_url":"https://api.github.com/users/jmartinm/orgs","repos_url":"https://api.github.com/users/jmartinm/repos","events_url":"https://api.github.com/users/jmartinm/events{/privacy}","received_events_url":"https://api.github.com/users/jmartinm/received_events","type":"User","site_admin":false},"open_issues":57,"closed_issues":17,"state":"open","created_at":"2016-02-25T16:46:21Z","updated_at":"2016-04-12T07:32:06Z","due_on":"2016-05-12T22:00:00Z","closed_at":null},"comments":11,"created_at":"2016-02-07T00:35:29Z","updated_at":"2016-04-12T13:54:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/inspirehep/inspire-next/pulls/839","html_url":"https://github.com/inspirehep/inspire-next/pull/839","diff_url":"https://github.com/inspirehep/inspire-next/pull/839.diff","patch_url":"https://github.com/inspirehep/inspire-next/pull/839.patch"},"body":"The objective of this PR is to have 100% unit test coverage for the files in the `inspirehep/utils` folder.\r\n\r\nThis entails a complete code review of these files, which will result in just comments: future PRs will address (or delete) these. The only changes that will happen to the code are changes to improve its testability: moving imports in the outer scope, injecting dependencies, and so on.\r\n\r\nI'm currently testing too much: a lot of these tests will be deleted, so please don't start reviewing."},"comment":{"url":"https://api.github.com/repos/inspirehep/inspire-next/issues/comments/208918025","html_url":"https://github.com/inspirehep/inspire-next/pull/839#issuecomment-208918025","issue_url":"https://api.github.com/repos/inspirehep/inspire-next/issues/839","id":208918025,"user":{"login":"jacquerie","id":381280,"avatar_url":"https://avatars.githubusercontent.com/u/381280?v=3","gravatar_id":"","url":"https://api.github.com/users/jacquerie","html_url":"https://github.com/jacquerie","followers_url":"https://api.github.com/users/jacquerie/followers","following_url":"https://api.github.com/users/jacquerie/following{/other_user}","gists_url":"https://api.github.com/users/jacquerie/gists{/gist_id}","starred_url":"https://api.github.com/users/jacquerie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacquerie/subscriptions","organizations_url":"https://api.github.com/users/jacquerie/orgs","repos_url":"https://api.github.com/users/jacquerie/repos","events_url":"https://api.github.com/users/jacquerie/events{/privacy}","received_events_url":"https://api.github.com/users/jacquerie/received_events","type":"User","site_admin":false},"created_at":"2016-04-12T13:54:58Z","updated_at":"2016-04-12T13:54:58Z","body":"Closing because this is not WIP, I'm just using this to salvage code for #1024."}}