mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-07 10:51:17 +00:00
fix checks
This commit is contained in:
1 file changed
+3
@@ -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