{"action":"created","issue":{"url":"https://api.github.com/repos/CSC-IT-Center-for-Science/pouta-blueprints/issues/391","labels_url":"https://api.github.com/repos/CSC-IT-Center-for-Science/pouta-blueprints/issues/391/labels{/name}","comments_url":"https://api.github.com/repos/CSC-IT-Center-for-Science/pouta-blueprints/issues/391/comments","events_url":"https://api.github.com/repos/CSC-IT-Center-for-Science/pouta-blueprints/issues/391/events","html_url":"https://github.com/CSC-IT-Center-for-Science/pouta-blueprints/pull/391","id":117807046,"number":391,"title":"Feature/admin statistics#80","user":{"login":"apurva3000","id":6124928,"avatar_url":"https://avatars.githubusercontent.com/u/6124928?v=3","gravatar_id":"","url":"https://api.github.com/users/apurva3000","html_url":"https://github.com/apurva3000","followers_url":"https://api.github.com/users/apurva3000/followers","following_url":"https://api.github.com/users/apurva3000/following{/other_user}","gists_url":"https://api.github.com/users/apurva3000/gists{/gist_id}","starred_url":"https://api.github.com/users/apurva3000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apurva3000/subscriptions","organizations_url":"https://api.github.com/users/apurva3000/orgs","repos_url":"https://api.github.com/users/apurva3000/repos","events_url":"https://api.github.com/users/apurva3000/events{/privacy}","received_events_url":"https://api.github.com/users/apurva3000/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"hhamalai","id":502173,"avatar_url":"https://avatars.githubusercontent.com/u/502173?v=3","gravatar_id":"","url":"https://api.github.com/users/hhamalai","html_url":"https://github.com/hhamalai","followers_url":"https://api.github.com/users/hhamalai/followers","following_url":"https://api.github.com/users/hhamalai/following{/other_user}","gists_url":"https://api.github.com/users/hhamalai/gists{/gist_id}","starred_url":"https://api.github.com/users/hhamalai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hhamalai/subscriptions","organizations_url":"https://api.github.com/users/hhamalai/orgs","repos_url":"https://api.github.com/users/hhamalai/repos","events_url":"https://api.github.com/users/hhamalai/events{/privacy}","received_events_url":"https://api.github.com/users/hhamalai/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-11-19T12:49:05Z","updated_at":"2015-11-23T13:57:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/CSC-IT-Center-for-Science/pouta-blueprints/pulls/391","html_url":"https://github.com/CSC-IT-Center-for-Science/pouta-blueprints/pull/391","diff_url":"https://github.com/CSC-IT-Center-for-Science/pouta-blueprints/pull/391.diff","patch_url":"https://github.com/CSC-IT-Center-for-Science/pouta-blueprints/pull/391.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/CSC-IT-Center-for-Science/pouta-blueprints/issues/comments/158938650","html_url":"https://github.com/CSC-IT-Center-for-Science/pouta-blueprints/pull/391#issuecomment-158938650","issue_url":"https://api.github.com/repos/CSC-IT-Center-for-Science/pouta-blueprints/issues/391","id":158938650,"user":{"login":"hhamalai","id":502173,"avatar_url":"https://avatars.githubusercontent.com/u/502173?v=3","gravatar_id":"","url":"https://api.github.com/users/hhamalai","html_url":"https://github.com/hhamalai","followers_url":"https://api.github.com/users/hhamalai/followers","following_url":"https://api.github.com/users/hhamalai/following{/other_user}","gists_url":"https://api.github.com/users/hhamalai/gists{/gist_id}","starred_url":"https://api.github.com/users/hhamalai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hhamalai/subscriptions","organizations_url":"https://api.github.com/users/hhamalai/orgs","repos_url":"https://api.github.com/users/hhamalai/repos","events_url":"https://api.github.com/users/hhamalai/events{/privacy}","received_events_url":"https://api.github.com/users/hhamalai/received_events","type":"User","site_admin":false},"created_at":"2015-11-23T13:57:10Z","updated_at":"2015-11-23T13:57:10Z","body":"add tests to test the view functionality, not just status codes.\r\n\r\ne.g. based on some dummy blueprint defined in [line 43](https://github.com/CSC-IT-Center-for-Science/pouta-blueprints/blob/master/pouta_blueprints/tests/test_flask_api.py#L43) compute stats for it and check return value with something similar to self.assertEqual(response.json[some_blueprint_id]['users'], number_of_users)"}}