Skip to content

Commit 037e1bc

Browse files
authored
Update test_lobster_tasks.py
1 parent fac31b7 commit 037e1bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

atomate/vasp/firetasks/tests/test_lobster_tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def test_mongodb_more_files(self):
157157
self.assertListEqual(load_dict["output"]["chargespilling"], [0.008, 0.008])
158158
db = self.get_task_database()
159159
gfs = gridfs.GridFS(db, "lobster_files")
160-
results = gfs.find({}).count_documents()
160+
results = gfs.count_documents({})
161161
self.assertEqual(results, 2)
162162
for fn in ["ICOHPLIST", "COOPCAR"]:
163163
oid = load_dict[fn.lower() + "_id"]

0 commit comments

Comments
 (0)