python-pretend
Library for stubbing in Python
Pretend is a library to make stubbing with Python easier. Stubbing is a technique for writing tests. You may hear the term mixed up with mocks,fakes, or doubles. Basically, a stub is an object that returns pre-canned responses, rather than doing any computation.
- Versions: 1.0.9
- Website: https://github.com/alex/pretend
- Licenses: Modified BSD
- Package source: gnu/packages/python-xyz.scm
- Builds: See build status
- Issues: See known issues
Installation
Install the latest version of python-pretend as follows:
guix install python-pretend
Or install a particular version:
guix install python-pretend@1.0.9
You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting your user profile. See the guix shell documentation for more information.
Badge code
You can use the following badge to inform users of python-pretend about the latest version available in Guix.
Example HTML:
<a href='https://packages.guix.gnu.org/packages/python-pretend'><img src='https://packages.guix.gnu.org/packages/python-pretend/badges/latest-version.svg' alt='Version in GNU Guix'></a>
Example Markdown:
[](https://packages.guix.gnu.org/packages/python-pretend)
Example Org:
[[https://packages.guix.gnu.org/packages/python-pretend][https://packages.guix.gnu.org/packages/python-pretend/badges/latest-version.svg]]