Bug#1012267: ITP: python-mongomock -- Fake pymongo stub for testing simple MongoDB-dependent code
Package: wnpp
Owner: Andrius Merkys <merkys@debian.org>
Severity: wishlist
* Package name : python-mongomock
Version : 4.0.0
Upstream Author : Rotem Yaari
* URL : https://github.com/mongomock/mongomock
* License : BSD-3-Clause
Programming Lang: Python
Description : Fake pymongo stub for testing simple
MongoDB-dependent code
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.
Remark: This package is to be maintained with Debian Python Team at
https://salsa.debian.org/python-team/packages/python-mongomock
Reply to: