Skip to content
Sections
>> Trisquel >> Paket >> ecne (12.0LTS) >> python >> python3-mongomock
[  ecne  ] [  xolotl  ]
[ Källkod: python-mongomock  ]

Paket: python3-mongomock (4.1.3-1)

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

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.

Andra paket besläktade med python3-mongomock

  • beror
  • rekommenderar
  • föreslår
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • dep: python3-packaging
    core utilities for python3 packages
  • dep: python3-pkg-resources
    Package Discovery and Resource Access using pkg_resources
  • dep: python3-sentinels
    Python module for sentinel objects (Python 3 version)
  • dep: python3-tz
    Python3 version of the Olson timezone database

Hämta python3-mongomock

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 46,6 kbyte261 kbyte [filförteckning]