mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-19 21:45:39 +00:00
fix checks
This commit is contained in:
@ -111,6 +111,9 @@ class URLTest(TestCase):
|
|||||||
if url.startswith("admin:"):
|
if url.startswith("admin:"):
|
||||||
return
|
return
|
||||||
|
|
||||||
|
if url.startswith("account:"):
|
||||||
|
return
|
||||||
|
|
||||||
if pk:
|
if pk:
|
||||||
# We will assume that there is at least one item in the database
|
# We will assume that there is at least one item in the database
|
||||||
reverse(url, kwargs={"pk": 1})
|
reverse(url, kwargs={"pk": 1})
|
||||||
|
Reference in New Issue
Block a user