mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
fix checks
This commit is contained in:
parent
48a4715b58
commit
30c98b828e
@ -111,6 +111,9 @@ class URLTest(TestCase):
|
||||
if url.startswith("admin:"):
|
||||
return
|
||||
|
||||
if url.startswith("account:"):
|
||||
return
|
||||
|
||||
if pk:
|
||||
# We will assume that there is at least one item in the database
|
||||
reverse(url, kwargs={"pk": 1})
|
||||
|
Loading…
Reference in New Issue
Block a user