'Check the response from the callback end-point.'

def _assert_response(self, response):

    content = json.loads(response.content)
    self.assertEqual(response.status_code, 200)
    self.assertEqual(content['return_code'], 0)
