dev-python/
mongomock

Library to help testing Python code that interacts with MongoDB via Pymongo

https://github.com/mongomock/mongomock