{"action":"created","issue":{"url":"https://api.github.com/repos/adamcharnock/django-su/issues/37","labels_url":"https://api.github.com/repos/adamcharnock/django-su/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/adamcharnock/django-su/issues/37/comments","events_url":"https://api.github.com/repos/adamcharnock/django-su/issues/37/events","html_url":"https://github.com/adamcharnock/django-su/pull/37","id":92855995,"number":37,"title":"Adding Tests","user":{"login":"adamcharnock","id":138215,"avatar_url":"https://avatars.githubusercontent.com/u/138215?v=3","gravatar_id":"","url":"https://api.github.com/users/adamcharnock","html_url":"https://github.com/adamcharnock","followers_url":"https://api.github.com/users/adamcharnock/followers","following_url":"https://api.github.com/users/adamcharnock/following{/other_user}","gists_url":"https://api.github.com/users/adamcharnock/gists{/gist_id}","starred_url":"https://api.github.com/users/adamcharnock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamcharnock/subscriptions","organizations_url":"https://api.github.com/users/adamcharnock/orgs","repos_url":"https://api.github.com/users/adamcharnock/repos","events_url":"https://api.github.com/users/adamcharnock/events{/privacy}","received_events_url":"https://api.github.com/users/adamcharnock/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-03T11:29:09Z","updated_at":"2015-07-04T05:27:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/adamcharnock/django-su/pulls/37","html_url":"https://github.com/adamcharnock/django-su/pull/37","diff_url":"https://github.com/adamcharnock/django-su/pull/37.diff","patch_url":"https://github.com/adamcharnock/django-su/pull/37.patch"},"body":"I thought I'd spend a few hours writing some tests for django-su today.A total of 23 tests giving 86% code coverage. See:\r\n\r\nhttps://travis-ci.org/adamcharnock/django-su/branches\r\nhttps://coveralls.io/builds/2968404\r\n\r\nThe main result of this is a refactoring of the backend in ``backends.py`` to make it a little more robust.\r\n\r\n@bashu: Do you have time available to review and potentially merge this?"},"comment":{"url":"https://api.github.com/repos/adamcharnock/django-su/issues/comments/118462890","html_url":"https://github.com/adamcharnock/django-su/pull/37#issuecomment-118462890","issue_url":"https://api.github.com/repos/adamcharnock/django-su/issues/37","id":118462890,"user":{"login":"landscape-bot","id":10010231,"avatar_url":"https://avatars.githubusercontent.com/u/10010231?v=3","gravatar_id":"","url":"https://api.github.com/users/landscape-bot","html_url":"https://github.com/landscape-bot","followers_url":"https://api.github.com/users/landscape-bot/followers","following_url":"https://api.github.com/users/landscape-bot/following{/other_user}","gists_url":"https://api.github.com/users/landscape-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/landscape-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/landscape-bot/subscriptions","organizations_url":"https://api.github.com/users/landscape-bot/orgs","repos_url":"https://api.github.com/users/landscape-bot/repos","events_url":"https://api.github.com/users/landscape-bot/events{/privacy}","received_events_url":"https://api.github.com/users/landscape-bot/received_events","type":"User","site_admin":false},"created_at":"2015-07-04T05:27:28Z","updated_at":"2015-07-04T05:27:28Z","body":"[![Code Health](https://landscape.io/badge/201750/landscape.svg?style=flat)](https://landscape.io/diff/190596)\nCode quality remained the same when pulling **[e3bd126](https://github.com/adamcharnock/django-su/commit/e3bd126bf2e344c0eaac178ceb497a0b1418cffe) on adamcharnock:tests** into **[1abfc04](https://github.com/adamcharnock/django-su/commit/1abfc04b425be895710523468878cd53ea77de64) on adamcharnock:develop**."}}