Update dependencies, apply black and fix wrong default SITH_COUNTER_OFFICES values

This commit is contained in:
2022-08-04 18:08:10 +02:00
parent 320a896610
commit 4f00224f0d
5 changed files with 46 additions and 138 deletions

View File

@ -110,6 +110,7 @@ class CounterTest(TestCase):
"bank": "OTHER",
},
)
self.assertTrue(response.status_code == 200)
response = self.client.post(
reverse("counter:login", kwargs={"counter_id": self.foyer.id}),
@ -139,7 +140,7 @@ class CounterTest(TestCase):
"bank": "OTHER",
},
)
self.assertTrue(response.status_code == 403)
self.assertTrue(response.status_code == 200)
class CounterStatsTest(TestCase):