{"action":"created","issue":{"url":"https://api.github.com/repos/revsys/django-test-plus/issues/6","labels_url":"https://api.github.com/repos/revsys/django-test-plus/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/revsys/django-test-plus/issues/6/comments","events_url":"https://api.github.com/repos/revsys/django-test-plus/issues/6/events","html_url":"https://github.com/revsys/django-test-plus/issues/6","id":84710708,"number":6,"title":"Make the self.response_XXX methods work with self.last_response","user":{"login":"epicserve","id":191620,"avatar_url":"https://avatars.githubusercontent.com/u/191620?v=3","gravatar_id":"","url":"https://api.github.com/users/epicserve","html_url":"https://github.com/epicserve","followers_url":"https://api.github.com/users/epicserve/followers","following_url":"https://api.github.com/users/epicserve/following{/other_user}","gists_url":"https://api.github.com/users/epicserve/gists{/gist_id}","starred_url":"https://api.github.com/users/epicserve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epicserve/subscriptions","organizations_url":"https://api.github.com/users/epicserve/orgs","repos_url":"https://api.github.com/users/epicserve/repos","events_url":"https://api.github.com/users/epicserve/events{/privacy}","received_events_url":"https://api.github.com/users/epicserve/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-03T18:38:19Z","updated_at":"2015-06-03T19:07:52Z","closed_at":null,"body":"It would be handy if this worked:\r\n\r\n```python\r\nself.get('app_label:name_url')\r\nself.response_200()\r\n```\r\n\r\nYou could do something like this:\r\n\r\n```python\r\ndef response_200(self, response=None):\r\n    \"\"\" Given response has status_code 200 \"\"\"\r\n    \r\n    if response is None:\r\n        response = self.last_response\r\n        \r\n    self.assertEqual(response.status_code, 200)\r\n```"},"comment":{"url":"https://api.github.com/repos/revsys/django-test-plus/issues/comments/108582055","html_url":"https://github.com/revsys/django-test-plus/issues/6#issuecomment-108582055","issue_url":"https://api.github.com/repos/revsys/django-test-plus/issues/6","id":108582055,"user":{"login":"epicserve","id":191620,"avatar_url":"https://avatars.githubusercontent.com/u/191620?v=3","gravatar_id":"","url":"https://api.github.com/users/epicserve","html_url":"https://github.com/epicserve","followers_url":"https://api.github.com/users/epicserve/followers","following_url":"https://api.github.com/users/epicserve/following{/other_user}","gists_url":"https://api.github.com/users/epicserve/gists{/gist_id}","starred_url":"https://api.github.com/users/epicserve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epicserve/subscriptions","organizations_url":"https://api.github.com/users/epicserve/orgs","repos_url":"https://api.github.com/users/epicserve/repos","events_url":"https://api.github.com/users/epicserve/events{/privacy}","received_events_url":"https://api.github.com/users/epicserve/received_events","type":"User","site_admin":false},"created_at":"2015-06-03T19:07:52Z","updated_at":"2015-06-03T19:07:52Z","body":"Just a thought ... but what about making all the response_XXX methods dynamic so they all call use the same ``self._response`` method."}}