Skip to content
Sections
>> Trisquel >> Paket >> ecne (12.0LTS) >> python >> python3-pytest-mock
[  aramo  ] [  ecne  ] [  xolotl  ]
[ Källkod: 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.

Andra paket besläktade med python3-pytest-mock

  • beror
  • rekommenderar
  • föreslår
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • dep: python3-pytest (>= 7.1.2)
    Simple, powerful testing in Python3

Hämta python3-pytest-mock

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 11,1 kbyte56 kbyte [filförteckning]