diff --git a/InvenTree/InvenTree/test_urls.py b/InvenTree/InvenTree/test_urls.py index 229950b7be..042f43b6eb 100644 --- a/InvenTree/InvenTree/test_urls.py +++ b/InvenTree/InvenTree/test_urls.py @@ -112,7 +112,7 @@ class URLTest(TestCase): return # TODO can this be more elegant? - if url == 'account_reset_password': + if url.startswith("account_"): return if pk: