Fix query count for go view
This might be non-deterministic
This commit is contained in:
parent
bbf7411f50
commit
9ba8a505fc
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ class GoViewTestCase(TestCase):
|
||||||
)
|
)
|
||||||
|
|
||||||
def test_by_slug(self) -> None:
|
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})
|
response = self.client.get(reverse("go"), {"q": self.post_2.slug})
|
||||||
|
|
||||||
self.assertRedirects(
|
self.assertRedirects(
|
||||||
|
|
Loading…
Reference in a new issue