Update test_api.py

This commit is contained in:
Matthias Mair 2022-05-11 19:03:07 +02:00 committed by GitHub
parent 993f6380db
commit e859b9975b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -102,7 +102,7 @@ class HTMLAPITests(TestCase):
# Check JSON response
response = self.client.get(url, HTTP_ACCEPT='application/json')
self.assertEqual(response.status_code, 404)
self.assertEqual(response.status_code, 200)
class APITests(InvenTreeAPITestCase):