We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0eb50fa commit 3875ea0Copy full SHA for 3875ea0
test/test_load_balancer.py
@@ -45,7 +45,7 @@ def test_connections_are_only_returned_once(self):
45
nconns = len(pool.sockets)
46
self.db.test.find_one({})
47
self.assertEqual(len(pool.sockets), nconns)
48
- self.db.test.aggregate([{'$limit': 1}])
+ list(self.db.test.aggregate([{'$limit': 1}]))
49
50
51
@client_context.require_load_balancer
0 commit comments