We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c226b4f commit 6a0d854Copy full SHA for 6a0d854
test/test_database.py
@@ -524,7 +524,7 @@ def test_authenticate_multiple(self):
524
# Admin read-only user should be able to query any db,
525
# but not write.
526
admin_db.authenticate('ro-admin', 'pass')
527
- self.assertEqual(0, other_db.test.count())
+ self.assertEqual(None, other_db.test.find_one())
528
self.assertRaises(OperationFailure,
529
other_db.test.insert_one, {})
530
0 commit comments