python27-mock - A Python Mocking and Patching Library for Testing

Property Value
Distribution CentOS 6
Repository PUIAS Computational i386
Package name python27-mock
Package version 1.0.1
Package release 3.sdl6
Package architecture noarch
Package type rpm
Installed size 365.06 KB
Download size 92.35 KB
Official Mirror
Mock is a Python module that provides a core mock class. It removes the need
to create a host of stubs throughout your test suite. After performing an
action, you can make assertions about which methods / attributes were used and
arguments they were called with. You can also specify return values and set
needed attributes in the normal way.


Package Version Architecture Repository
python27-mock-1.0.1-3.sdl6.noarch.rpm 1.0.1 noarch PUIAS Computational
python27-mock - - -


Name Value
python(abi) = 2.7


Name Value
python27-mock = 1.0.1-3.sdl6


Type URL
Binary Package python27-mock-1.0.1-3.sdl6.noarch.rpm
Source Package python27-mock-1.0.1-3.sdl6.src.rpm

Install Howto

  1. Download latest puias-computational rpm from
  2. Install puias-computational rpm:
    # rpm -Uvh puias-computational*rpm
  3. Install python27-mock rpm package:
    # yum install python27-mock




2014-05-09 - Dennis Gilmore <> - 1.0.1-3
- rebuild for python 3.4
- disable test suite deps missing
2013-08-04 - Fedora Release Engineering <> - 1.0.1-2
- Rebuilt for
2013-04-11 - Luke Macken <> - 1.0.1-1
- Update to 1.0.1
- Run the test suite
- Add python-unittest2 as a build requirement
2013-02-14 - Fedora Release Engineering <> - 0.8.0-5
- Rebuilt for
2012-08-04 - David Malcolm <> - 0.8.0-4
- rebuild for
2012-07-21 - Fedora Release Engineering <> - 0.8.0-3
- Rebuilt for
2012-07-09 - Ralph Bean <> - 0.8.0-2
- Python3 support
2012-03-22 - Praveen Kumar <> - 0.8.0-1
- Updated to new version
2011-07-22 - Praveen Kumar <> - 0.7.2-1
- Initial RPM release

See Also

Package Description
python27-mpmath-0.18-1.sdl6.noarch.rpm A pure Python library for multiprecision floating-point arithmetic
python27-mpmath-doc-0.18-1.sdl6.noarch.rpm HTML documentation for python27-mpmath
python27-networkx-1.9.1-2.sdl6.noarch.rpm Creates and Manipulates Graphs and Networks
python27-networkx-core-1.9.1-2.sdl6.noarch.rpm Creates and Manipulates Graphs and Networks
python27-networkx-doc-1.9.1-2.sdl6.noarch.rpm Documentation for networkx
python27-nibabel-2.1.0-1.sdl6.noarch.rpm Python package to access a cacophony of neuro-imaging file formats
python27-nltk-2.0.4-2.sdl6.2.noarch.rpm Natural Language Toolkit
python27-nose-1.3.0-1.sdl6.noarch.rpm Discovery-based unittest extension for Python
python27-nose-docs-1.3.0-1.sdl6.noarch.rpm Nose Documentation
python27-numeric-24.2-14.sdl6.i686.rpm Numerical Extension to Python
python27-numexpr-2.3-1.sdl6.i686.rpm Fast numerical array expression evaluator for Python and NumPy
python27-numpydoc-0.5-1.sdl6.noarch.rpm Sphinx extension to support docstrings in Numpy format
python27-openvswitch-1.7.1-6.puias6.noarch.rpm Open vSwitch python bindings
python27-pandas-0.14.1-1.sdl6.i686.rpm Python library providing high-performance data analysis tools
python27-paste- Tools for using a Web Server Gateway Interface stack