Skip to content

Commit 803a6c1

Browse files
committed
fix test
1 parent 5a146ef commit 803a6c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flask_pymongo/tests/test_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class CustomDict(dict):
8787

8888
mongo.db.things.insert_one({"_id": "thing", "val": "foo"})
8989

90-
assert mongo.db.things.find_one() is CustomDict
90+
assert type(mongo.db.things.find_one()) is CustomDict
9191

9292
def test_it_doesnt_connect_by_default(self):
9393
uri = f"mongodb://localhost:{self.port}/{self.dbname}"

0 commit comments

Comments
 (0)