
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 we record the expected calls (find, and then a series of updates), and replay them later. 3. It can receive a carefully hand-crafted mock responding to find() and update() appropriately.
This package installs the library for Python 3.