Fix number of queries

This commit is contained in:
Jake Howard 2022-10-30 13:39:02 +00:00
parent 053f44bf35
commit dc02e989e1
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -59,7 +59,7 @@ class ListingPageTestCase(TestCase):
self.assertContains(response, self.page.reverse_subpage("feed")) self.assertContains(response, self.page.reverse_subpage("feed"))
def test_feed_accessible(self) -> None: def test_feed_accessible(self) -> None:
with self.assertNumQueries(12): with self.assertNumQueries(13):
response = self.client.get( response = self.client.get(
self.page.url + self.page.reverse_subpage("feed") self.page.url + self.page.reverse_subpage("feed")
) )