Feat: Se agrega GET party
This commit is contained in:
		| @@ -46,6 +46,17 @@ class DonConfiaoApiRouteTestCase( | ||||
|         self.assertEqual(response.status_code, HTTPStatus.OK) | ||||
|         self.assertEqual(len(parties), 1) | ||||
|  | ||||
|     def test_get_party(self): | ||||
|         client = self.client() | ||||
|         response = client.get( | ||||
|             f'/{self.db_name}/sale_don_confiao/party/1', | ||||
|             headers={ | ||||
|                 'Authorization': f'bearer {self.key}', | ||||
|             }) | ||||
|  | ||||
|         self.assertEqual(response.status_code, HTTPStatus.OK) | ||||
|         self.assertIsNotNone(response.get_data()) | ||||
|  | ||||
|     def test_post_parties(self): | ||||
|         client = self.client() | ||||
|         response = client.post( | ||||
|   | ||||
		Reference in New Issue
	
	Block a user