Description
Mongomock is a small library to help testing Python code that interacts with MongoDB via Pymongo.
The code can be tested in several ways:
1. It can be tested against a real mongodb instance with pymongo.
2. It can receive a record-replay style mock as an argument. In this manner
the expected calls are recorded (find, and then a series of updates), and
then replayed later.
3. It can receive a carefully hand-crafted mock responding to find() and
update() appropriately.
Upload more screenshots
Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.
Upload a screenshotHint: upload an image here from your clipboard with Ctrl-V
Homepage
https://github.com/mongomock/mongomock
Install this software package
If the package is available for the distribution you are currently using on your computer then install the software by clicking on…