Open knoguchi opened 1 year ago
The shutdown event handler should close the mongodb connection after dropping the collection. The problem is more apparent with Pymongo4. With Pymongo4 the unit test fails with "Cannot use MongoClient after close" error.
The shutdown event handler should close the mongodb connection after dropping the collection. The problem is more apparent with Pymongo4. With Pymongo4 the unit test fails with "Cannot use MongoClient after close" error.