mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
update path in test
This commit is contained in:
parent
993f6380db
commit
036b58ea04
@ -98,10 +98,8 @@ class HTMLAPITests(TestCase):
|
||||
|
||||
def test_not_found(self):
|
||||
"""Test that the NotFoundView is working"""
|
||||
url = reverse('api-404')
|
||||
|
||||
# Check JSON response
|
||||
response = self.client.get(url, HTTP_ACCEPT='application/json')
|
||||
response = self.client.get('/api/anc')
|
||||
self.assertEqual(response.status_code, 404)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user