Fix query count for go view

This might be non-deterministic
This commit is contained in:
Jake Howard 2024-01-14 13:09:28 +00:00
parent bbf7411f50
commit 9ba8a505fc
Signed by: jake
GPG Key ID: 57AFB45680EDD477
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ class GoViewTestCase(TestCase):
)
def test_by_slug(self) -> None:
with self.assertNumQueries(7):
with self.assertNumQueries(6):
response = self.client.get(reverse("go"), {"q": self.post_2.slug})
self.assertRedirects(