- Name: python-pytest-mock
- Version: 3.3.1
- Release: 1.mga8
- Epoch:
- Group: Development/Python
- License: MIT
- Url: https://pypi.org/project/pytest-mock
- Summary: Thin-wrapper around the mock package for easier use with py
- Architecture: noarch
- Size: 30433
- Distribution: Mageia
- Vendor: Mageia.Org
- Packager: guillomovitch <guillomovitch>
Description:
pytest-mock This plugin installs a mocker fixture which is a thin-wrapper
around the patching API provided by the mock package < but with the benefit of
not having to worry about undoing patches at the end of a test:.. code-block::
python import os class UnixFS: @staticmethod def rm(filename):
os.remove(filename) def test_unix_fs(mocker): mocker.patch('os.remove')
UnixFS.rm('file')...
- BuildArch:
- ExcludeArch:
- ExclusiveArch:
- Cookie: localhost 1606329437
- Buildhost: localhost
Generated packages:
Other version of this rpm: