python3-pytest-mock-1.10.1-1.mga7.noarch.rpm


Advertisement

Description

python3-pytest-mock - Thin-wrapper around the mock package for easier use with py

Property Value
Distribution Mageia 7
Repository Mageia Core i586
Package filename python3-pytest-mock-1.10.1-1.mga7.noarch.rpm
Package name python3-pytest-mock
Package version 1.10.1
Package release 1.mga7
Package architecture noarch
Package type rpm
Category Development/Python
Homepage https://github.com/pytest-dev/pytest-mock/
License MIT
Maintainer -
Download size 21.32 KB
Installed size 55.57 KB
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')...

Alternatives

Package Version Architecture Repository
python3-pytest-mock-1.10.1-1.mga7.noarch.rpm 1.10.1 noarch Mageia Core
python3-pytest-mock - - -

Requires

Name Value
python(abi) = 3.7
python3.7dist(pytest) >= 2.7
python3dist(mock) -
python3dist(pytest) >= 2.7
python3dist(setuptools) -

Provides

Name Value
python3-pytest-mock = 1.10.1-1.mga7
python3.7dist(pytest-mock) = 1.10.1
python3dist(pytest-mock) = 1.10.1
pythonegg(3)(pytest-mock) = 1.10.1

Download

Type URL
Mirror distrib-coffee.ipsl.jussieu.fr
Binary Package python3-pytest-mock-1.10.1-1.mga7.noarch.rpm
Source Package python-pytest-mock-1.10.1-1.mga7.src.rpm

Install Howto

  1. Enable the repository in Software Management
  2. Install python3-pytest-mock rpm package:
    # dnf install python3-pytest-mock

Files

Path
/usr/lib/python3.7/site-packages/_pytest_mock_version.py
/usr/lib/python3.7/site-packages/pytest_mock.py
/usr/lib/python3.7/site-packages/__pycache__/_pytest_mock_version.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/__pycache__/_pytest_mock_version.cpython-37.pyc
/usr/lib/python3.7/site-packages/__pycache__/pytest_mock.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/__pycache__/pytest_mock.cpython-37.pyc
/usr/lib/python3.7/site-packages/pytest_mock-1.10.1-py3.7.egg-info/PKG-INFO
/usr/lib/python3.7/site-packages/pytest_mock-1.10.1-py3.7.egg-info/SOURCES.txt
/usr/lib/python3.7/site-packages/pytest_mock-1.10.1-py3.7.egg-info/dependency_links.txt
/usr/lib/python3.7/site-packages/pytest_mock-1.10.1-py3.7.egg-info/entry_points.txt
/usr/lib/python3.7/site-packages/pytest_mock-1.10.1-py3.7.egg-info/requires.txt
/usr/lib/python3.7/site-packages/pytest_mock-1.10.1-py3.7.egg-info/top_level.txt
/usr/share/doc/python3-pytest-mock/README.rst
/usr/share/licenses/python3-pytest-mock/LICENSE

Changelog

2019-03-15 - shlomif <shlomif> 1.10.1-1.mga7
+ Revision: 1377721
- New version 1.10.1
2019-01-07 - shlomif <shlomif> 1.9.0-3.mga7
+ Revision: 1350293
- Rebuild for python3 3.7
2018-09-20 - umeabot <umeabot> 1.9.0-2.mga7
+ Revision: 1289876
- Mageia 7 Mass Rebuild
2018-05-01 - shlomif <shlomif> 1.9.0-1.mga7
+ Revision: 1224268
- build fixes
- pyp2rpm

See Also

Package Description
python3-pytest-randomly-3.0.0-1.mga7.noarch.rpm Pytest plugin to randomly order tests and control random
python3-pytest-runner-4.2-1.mga7.noarch.rpm Invoke py.test as distutils command with dependency resolution
python3-pytest-timeout-1.3.3-1.mga7.noarch.rpm py.test plugin to abort hanging tests
python3-pytest-xdist-1.28.0-1.mga7.noarch.rpm pytest xdist plugin for distributed testing and loop-on-failing modes
python3-python-editor-1.0.3-1.mga7.noarch.rpm Python style guide checker
python3-python-louvain-0.13-1.mga7.noarch.rpm Louvain algorithm for community detection
python3-pytoml-0.1.20-1.mga7.noarch.rpm A parser for TOML-0.4.0
python3-pytools-2019.1-1.mga7.noarch.rpm A collection of tools for Python 3
python3-pytz-2018.9-1.mga7.noarch.rpm World timezone definitions for Python 3
python3-pyudev-0.21.0-1.mga7.noarch.rpm A libudev binding
python3-pyudev-qt4-0.21.0-1.mga7.noarch.rpm Qt4 integration for pyudev
python3-pyudev-qt5-0.21.0-1.mga7.noarch.rpm Qt5 integration for pyudev
python3-pyusb-1.0.2-4.mga7.noarch.rpm Python 3 bindings for libusb
python3-pywavelets-1.0.1-2.mga7.i586.rpm Python 3 wavelet module
python3-pywavelets-doc-1.0.1-2.mga7.noarch.rpm This package contains the HMTL documentation of python-pywavelets
Advertisement
Advertisement