Skip to content
Sections
>> Trisquel >> Pakete >> ecne (12.0LTS) >> python >> python3-pytest-mock
[  aramo  ] [  ecne  ] [  xolotl  ]
[ Quellcode: pytest-mock  ]

Paket: python3-pytest-mock (3.12.0-1.1)

Thin wrapper around mock for easier use with pytest (Python 3 module)

This plugin installs a "mocker" fixture which is a thin wrapper around the patching API provided by the excellent "mock" package or by unittest.mock, but with the benefit of not having to worry about undoing patches at the end of a test. It also provides other nice utilities such as spy and stub, and uses pytest introspection when comparing calls.

This package provides the Python 3 module.

Andere Pakete mit Bezug zu python3-pytest-mock

  • hängt ab von
  • empfiehlt
  • schlägt vor
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • dep: python3-pytest (>= 7.1.2)
    Simple, powerful testing in Python3

python3-pytest-mock herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 11,1 kB56 kB [Liste der Dateien]