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 da667d6 commit 5e1d8f9Copy full SHA for 5e1d8f9
tests/test_gridfs.py
@@ -35,7 +35,7 @@ def test_it_saves_files_to_another_db(self):
35
36
self.mongo.save_file("my-file", fileobj, db="other")
37
assert self.mongo.db is not None
38
- gridfs = GridFS(self.mongo.db)
+ gridfs = GridFS(self.mongo.cx["other"])
39
assert gridfs.exists({"filename": "my-file"})
40
41
def test_it_saves_files_with_props(self):
0 commit comments