python3-mongomock

Fake pymongo stub for testing simple MongoDB-dependent code (Python 3)

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
    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.

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 screenshot

Hint: 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…

Install python3-mongomock