{"action":"created","issue":{"url":"https://api.github.com/repos/hasgeek/lastuser/issues/155","repository_url":"https://api.github.com/repos/hasgeek/lastuser","labels_url":"https://api.github.com/repos/hasgeek/lastuser/issues/155/labels{/name}","comments_url":"https://api.github.com/repos/hasgeek/lastuser/issues/155/comments","events_url":"https://api.github.com/repos/hasgeek/lastuser/issues/155/events","html_url":"https://github.com/hasgeek/lastuser/pull/155","id":128127320,"number":155,"title":"Tests","user":{"login":"sindhus","id":4291156,"avatar_url":"https://avatars.githubusercontent.com/u/4291156?v=3","gravatar_id":"","url":"https://api.github.com/users/sindhus","html_url":"https://github.com/sindhus","followers_url":"https://api.github.com/users/sindhus/followers","following_url":"https://api.github.com/users/sindhus/following{/other_user}","gists_url":"https://api.github.com/users/sindhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindhus/subscriptions","organizations_url":"https://api.github.com/users/sindhus/orgs","repos_url":"https://api.github.com/users/sindhus/repos","events_url":"https://api.github.com/users/sindhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindhus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hasgeek/lastuser/labels/in%20progress","name":"in progress","color":"2980B9"}],"state":"closed","locked":false,"assignee":{"login":"sindhus","id":4291156,"avatar_url":"https://avatars.githubusercontent.com/u/4291156?v=3","gravatar_id":"","url":"https://api.github.com/users/sindhus","html_url":"https://github.com/sindhus","followers_url":"https://api.github.com/users/sindhus/followers","following_url":"https://api.github.com/users/sindhus/following{/other_user}","gists_url":"https://api.github.com/users/sindhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindhus/subscriptions","organizations_url":"https://api.github.com/users/sindhus/orgs","repos_url":"https://api.github.com/users/sindhus/repos","events_url":"https://api.github.com/users/sindhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindhus/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-01-22T10:33:03Z","updated_at":"2016-03-20T13:41:24Z","closed_at":"2016-03-20T13:41:24Z","pull_request":{"url":"https://api.github.com/repos/hasgeek/lastuser/pulls/155","html_url":"https://github.com/hasgeek/lastuser/pull/155","diff_url":"https://github.com/hasgeek/lastuser/pull/155.diff","patch_url":"https://github.com/hasgeek/lastuser/pull/155.patch"},"body":"I have added tests for utils.py except for `make_redirect_url()`. It has been used in `oauth.py` in `oauth_auth_success()` but I don't know how to test because I don't know in what scenario does oauth_auth_success function gets called. Any pointers?\r\n\r\nMeanwhile I am working on adding tests to `test_model_client.py`"},"comment":{"url":"https://api.github.com/repos/hasgeek/lastuser/issues/comments/198931815","html_url":"https://github.com/hasgeek/lastuser/pull/155#issuecomment-198931815","issue_url":"https://api.github.com/repos/hasgeek/lastuser/issues/155","id":198931815,"user":{"login":"sindhus","id":4291156,"avatar_url":"https://avatars.githubusercontent.com/u/4291156?v=3","gravatar_id":"","url":"https://api.github.com/users/sindhus","html_url":"https://github.com/sindhus","followers_url":"https://api.github.com/users/sindhus/followers","following_url":"https://api.github.com/users/sindhus/following{/other_user}","gists_url":"https://api.github.com/users/sindhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindhus/subscriptions","organizations_url":"https://api.github.com/users/sindhus/orgs","repos_url":"https://api.github.com/users/sindhus/repos","events_url":"https://api.github.com/users/sindhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindhus/received_events","type":"User","site_admin":false},"created_at":"2016-03-20T13:41:24Z","updated_at":"2016-03-20T13:41:24Z","body":"This branch I am working on is getting confusing as I have mixed up adding all kinds of tests for lastuser in there (unit, integration) and so am closing this and sending separate PRs for unit and integration."}}