python3-pytest-mock – thin-wrapper around mock for easier use with py.test (Python 3 module)

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 3 module.

Package availability chart
Distribution Base version Our version Architectures
Debian GNU/Linux 10.0 (buster) 1.7.1-1    
Debian GNU/Linux 11.0 (bullseye) 1.10.4-4 3.6.1-1+nd1~nd110+1 i386, amd64, sparc, armel
Debian GNU/Linux 9.0 (stretch) 1.3.0-1    
Debian testing (bookworm) 3.8.2-3 3.6.1-1+nd1~nd120+1 i386, amd64, sparc, armel
Debian unstable (sid) 3.8.2-3    
Ubuntu 16.04 “Xenial Xerus” (xenial) 0.8.1-1    
Ubuntu 18.04 “Bionic Beaver” (bionic) 1.7.1-1    
Ubuntu 20.04 “Focal Fossa” (focal) 1.10.4-3 3.6.1-1+nd1~nd20.04+1 i386, amd64, sparc, armel
Ubuntu 21.10 “Impish Indri” (impish) 1.10.4-4    
Ubuntu 22.04 “Jammy Jellyfish” (jammy) 3.6.1-1ubuntu1    

Comments

blog comments powered by Disqus