From 94a19727da4cff7cf05ed09ebf62c508219a2a41 Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 17 May 2022 01:02:29 +0200 Subject: [PATCH] fix assertation --- InvenTree/InvenTree/test_middleware.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/InvenTree/test_middleware.py b/InvenTree/InvenTree/test_middleware.py index 9eac34d8c8..e5d4a1625a 100644 --- a/InvenTree/InvenTree/test_middleware.py +++ b/InvenTree/InvenTree/test_middleware.py @@ -33,7 +33,7 @@ class MiddlewareTests(TestCase): self.client.logout() # check that static files go through - self.check_path('/static/css/inventree.css') + self.check_path('/static/css/inventree.css', 302) # check that account things go through self.check_path(reverse('account_login'))