python-pytest-mock - thin-wrapper around mock for easier use with py.test (Python 2 module)

Property Value
Distribution Ubuntu 16.04 LTS (Xenial Xerus)
Repository Ubuntu Universe amd64
Package name python-pytest-mock
Package version 0.8.1
Package release 1
Package architecture all
Package type deb
Installed size 37 B
Download size 8.70 KB
Official Mirror
This plugin installs a "mocker" fixture which is a thin-wrapper
around the patching API provided by the excellent "mock" package, but
with the benefit of not having to worry about undoing patches at the
end of a test.
This package provides the Python 2 module.


Package Version Architecture Repository
python-pytest-mock_0.8.1-1_all.deb 0.8.1 all Ubuntu Universe
python-pytest-mock - - -


Name Value
python-pytest -
python:any >= 2.7.5-5~
python:any << 2.8


Type URL
Binary Package python-pytest-mock_0.8.1-1_all.deb
Source Package pytest-mock

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install python-pytest-mock deb package:
    # sudo apt-get install python-pytest-mock




2015-10-09 - Vincent Bernat <>
pytest-mock (0.8.1-1) unstable; urgency=low
* Initial release. Closes: #801418.

See Also

Package Description
python-pytest-multihost_1.0-1_all.deb Utility for writing multi-host tests for pytest (Python 2)
python-pytest-sourceorder_0.5-1_all.deb Test-ordering plugin for pytest (Python 2)
python-pytest-timeout_0.4-2_all.deb Pytest plugin to abort hanging tests - Python 2.X
python-pytest-tornado_0.4.4-1_all.deb py.test plugin to test Tornado applications
python-pytest-xdist_1.8-0.1_all.deb xdist plugin for py.test
python-pytest_2.8.7-4_all.deb Simple, powerful testing in Python
python-pyth_0.6.0-1_all.deb Python text markup and conversion
python-pythoncard_0.8.2-5_all.deb wxPython-based GUI construction framework (underlying Python libraries)
python-pythonmagick_0.9.11-2ubuntu2_amd64.deb Object-oriented Python interface to ImageMagick
python-pytils-doc_0.3-1_all.deb Python library for processing strings in Russian (documentation)
python-pytils_0.3-1_all.deb Python library for processing strings in Russian (Python 2)
python-pytimeparse_1.1.5-1_all.deb time expression parser - Python 2.x
python-pytoml_0.1.2-1_all.deb TOML parser and emitter for Python2
python-pytools_2015.1.6-1_all.deb big bag of things supplementing Python standard library
python-pytyrant_1.1.17-1.2_amd64.deb Pure Python client implementation of the Tokyo Tyrant protocol