Ensure we are starting at 0 when counting mongo queries

This commit is contained in:
Michael Youngstrom
2018-09-25 14:43:50 -04:00
parent 318937552a
commit 0ec4232cb5

View File

@@ -111,6 +111,7 @@ class TestNotifyCredentials(TestCase):
@override_settings(DEBUG=True)
def test_page_size(self):
reset_queries()
call_command(Command(), '--start-date', '2017-01-01')
baseline = len(connection.queries)