self._get('/api/unexisting_controller')
self.assertStatus(404)
- data = self.jsonBody()
+ data = self.json_body()
self.assertGreater(len(data), 0)
self.assertNotIn('traceback', data)
self.assertNotIn('version', data)
self._get('/api/unexisting_controller')
self.assertStatus(404)
- data = self.jsonBody()
+ data = self.json_body()
self.assertGreater(len(data), 0)
self.assertIn('traceback', data)
self.assertIn('version', data)