Info2: << Package: mock-py%type_pkg[python] Type: python ( 3.7 3.8 3.9 3.10) Version: 5.1.0 Revision: 1 Depends: << pbr-py%type_pkg[python], python%type_pkg[python], six-py%type_pkg[python] << BuildDepends: setuptools-tng-py%type_pkg[python] Source: https://files.pythonhosted.org/packages/source/m/mock/mock-%v.tar.gz Source-Checksum: SHA256(5e96aad5ccda4718e0a229ed94b2024df75cc2d55575ba5762d31f5767b8767d) # TODO: build docs DocFiles: CHANGELOG.rst LICENSE.txt README.rst CompileScript: << %p/bin/python%type_raw[python] setup.py build << InfoTest: << TestDepends: unittest2-py%type_pkg[python] TestScript: %p/bin/unit2-py%type_pkg[python] discover || exit 2 << InstallScript: << mkdir -p %i/share/doc/%n %p/bin/python%type_raw[python] setup.py install --root=%d << Description: Python mocking/patching library for testing DescDetail: << mock provides a core Mock class that is intended to reduce the need to create a host of trivial 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 specific attributes in the normal way. << License: BSD Homepage: https://github.com/testing-cabal/mock Maintainer: Charles Lepple # Info2: <<