More test edge case fixing
This commit is contained in:
parent
eefbd3f597
commit
ed2ea24b75
@ -140,6 +140,7 @@ class ContextManagersTest(unittest.TestCase):
|
||||
def test_query_counter(self):
|
||||
connect('mongoenginetest')
|
||||
db = get_db()
|
||||
db.test.find({})
|
||||
|
||||
with query_counter() as q:
|
||||
self.assertEqual(0, q)
|
||||
|
Loading…
x
Reference in New Issue
Block a user