Skip to content

Commit

Permalink
Fix test_form_view test
Browse files Browse the repository at this point in the history
  • Loading branch information
Cez02 committed Jan 5, 2025
1 parent 9caab7d commit 76055ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zapisy/apps/offer/vote/tests/test_forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def test_form_view(self):
# This number is a bit artificial — we just care that it is a constant.
# I have inspected the queries and they look ok, so this is just
# supposed to test that no one breaks performance in the future.
with self.assertNumQueries(18):
with self.assertNumQueries(16):
response = c.get(reverse('vote'))
self.assertContains(response, '<select', count=6)

Expand Down

0 comments on commit 76055ae

Please sign in to comment.