Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Jan 15, 2025
1 parent da667d6 commit 5e1d8f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_gridfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def test_it_saves_files_to_another_db(self):

self.mongo.save_file("my-file", fileobj, db="other")
assert self.mongo.db is not None
gridfs = GridFS(self.mongo.db)
gridfs = GridFS(self.mongo.cx["other"])
assert gridfs.exists({"filename": "my-file"})

def test_it_saves_files_with_props(self):
Expand Down

0 comments on commit 5e1d8f9

Please sign in to comment.