Package Info

python-mock


A Python Mocking and Patching Library for Testing


Development/Languages/Python

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.


License: BSD-2-Clause
URL: http://www.voidspace.org.uk/python/mock/

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
2.0.0-bp152.2.18 info GA Release 2020-04-17 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-mock
3.0.5-5.3.1 info SUSE-SLE-Module-Packagehub-Subpackages-15-SP2-2020-3026 2020-10-23 15 SP2 Subpackages Updates
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-mock