Fix: GET party method
This commit is contained in:
@@ -54,8 +54,11 @@ class DonConfiaoApiRouteTestCase(
|
||||
'Authorization': f'bearer {self.key}',
|
||||
})
|
||||
|
||||
party, = json.loads(
|
||||
response.get_data().decode())
|
||||
|
||||
self.assertEqual(response.status_code, HTTPStatus.OK)
|
||||
self.assertIsNotNone(response.get_data())
|
||||
self.assertEqual(party['name'], 'Dunkan')
|
||||
|
||||
def test_post_parties(self):
|
||||
client = self.client()
|
||||
|
||||
Reference in New Issue
Block a user