2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-19 21:45:39 +00:00

fix checks

This commit is contained in:
Matthias
2021-09-07 23:59:28 +02:00
parent 48a4715b58
commit 30c98b828e

View File

@ -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})