Skip to content
Sections
>> Trisquel >> Pakketten >> ecne (12.0LTS) >> python >> python3-mongomock
[  ecne  ] [  xolotl  ]
[ Bron: python-mongomock  ]

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

Andere aan python3-mongomock gerelateerde pakketten

  • depends
  • recommends
  • suggests
  • 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

python3-mongomock downloaden

Pakket downloaden voor alle beschikbare platforms
Platform Pakketgrootte Geïnstalleerde grootte Bestanden
all 46,6 kB261 kB [overzicht]