File: control

package info (click to toggle)
python-mongomock 4.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 992 kB
  • sloc: python: 15,860; makefile: 28
file content (39 lines) | stat: -rw-r--r-- 1,313 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Source: python-mongomock
Section: python
Priority: optional
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Uploaders:
 Andrius Merkys <merkys@debian.org>,
Rules-Requires-Root: no
Build-Depends:
 debhelper-compat (= 13),
 dh-python,
 python3-all,
 python3-packaging <!nocheck>,
 python3-pbr,
 python3-sentinels <!nocheck>,
 python3-setuptools,
Standards-Version: 4.6.1
Homepage: https://github.com/mongomock/mongomock
Vcs-Browser: https://salsa.debian.org/python-team/packages/python-mongomock
Vcs-Git: https://salsa.debian.org/python-team/packages/python-mongomock.git

Package: python3-mongomock
Architecture: all
Depends:
 ${misc:Depends},
 ${python3:Depends},
Description: 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.