We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cde9adf commit 1edbfadCopy full SHA for 1edbfad
test/test_client.py
@@ -791,6 +791,10 @@ def test_list_databases(self):
791
self.assertIsInstance(cursor, CommandCursor)
792
helper_docs = list(cursor)
793
self.assertTrue(len(helper_docs) > 0)
794
+ # sizeOnDisk can change between calls.
795
+ for doc_list in (helper_docs, cmd_docs):
796
+ for doc in doc_list:
797
+ doc.pop("sizeOnDisk", None)
798
self.assertEqual(helper_docs, cmd_docs)
799
for doc in helper_docs:
800
self.assertIs(type(doc), dict)
0 commit comments