fix assertation

This commit is contained in:
Matthias 2022-05-17 01:02:29 +02:00
parent 65d0d7906c
commit 94a19727da
No known key found for this signature in database
GPG Key ID: AB6D0E6C4CB65093

View File

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