Package : python-pytest-mock > RPM : python-pytest-mock-1.10.1-1.mga7.src.rpm

Basic items

Name python-pytest-mock
Version 1.10.1
Release 1.mga7
URL https://github.com/pytest-dev/pytest-mock/
Group Development/Python
Summary Thin-wrapper around the mock package for easier use with py
Size 26KB
Arch noarch
License MIT

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')...

Media information

Distribution release Mageia 7
Media name core-release
Media arch i586

Advanced items

Source RPM NOT IN DATABASE ?!
Build time 2019-03-15 23:05:09
Changelog View in Sophie
Files View in Sophie
Dependencies View in Sophie