This commit is contained in:
Mono Mono 2025-08-30 15:25:33 -05:00
parent e3f571afc5
commit e17b8f6973

View File

@ -68,7 +68,10 @@ class TestAPI(APITestCase):
json_response = json.loads(response.content.decode('utf-8'))
self.assertEqual(response.status_code, 200)
self.assertEqual(self.customer.name, json_response[0]['name'])
self.assertEqual(self.customer.external_id, json_response[0]['external_id'])
self.assertEqual(
self.customer.external_id,
json_response[0]['external_id']
)
def test_get_sales_for_tryton(self):
url = '/don_confiao/api/sales/for_tryton'