mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 20:16:44 +00:00
Update test_api.py
This commit is contained in:
parent
993f6380db
commit
e859b9975b
@ -102,7 +102,7 @@ class HTMLAPITests(TestCase):
|
|||||||
|
|
||||||
# Check JSON response
|
# Check JSON response
|
||||||
response = self.client.get(url, HTTP_ACCEPT='application/json')
|
response = self.client.get(url, HTTP_ACCEPT='application/json')
|
||||||
self.assertEqual(response.status_code, 404)
|
self.assertEqual(response.status_code, 200)
|
||||||
|
|
||||||
|
|
||||||
class APITests(InvenTreeAPITestCase):
|
class APITests(InvenTreeAPITestCase):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user