Skip to content

Commit

Permalink
fixes the number of queries run to display the search page, it was 35…
Browse files Browse the repository at this point in the history
…, now 15
  • Loading branch information
fredkingham committed Oct 26, 2018
1 parent 8a6482a commit 05922db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion search/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def test_number_of_queries(self):
"James", "Blofelt", str(i)
)

with self.assertNumQueries(35):
with self.assertNumQueries(15):
self.get_response('{}/?query=Blofelt'.format(self.url))

def test_with_multiple_patient_episodes(self):
Expand Down

0 comments on commit 05922db

Please sign in to comment.