How to Install and Uninstall python3-fudge Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 18,2024

1. Install "python3-fudge" package

Please follow the guidelines below to install python3-fudge on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install python3-fudge

2. Uninstall "python3-fudge" package

Please follow the guidelines below to uninstall python3-fudge on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove python3-fudge $ sudo apt autoclean && sudo apt autoremove

3. Information about the python3-fudge package on Ubuntu 21.10 (Impish Indri)

Package: python3-fudge
Architecture: all
Version: 1.1.0-2
Priority: optional
Section: universe/python
Source: python-fudge
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 172
Depends: python3-pkg-resources, python3:any
Recommends: python-fudge-doc (= 1.1.0-2)
Filename: pool/universe/p/python-fudge/python3-fudge_1.1.0-2_all.deb
Size: 29048
MD5sum: 55e1d33e45bacdf048a67b0399e7359f
SHA1: e99e496399a58cf9206c4040db924cbca6a54e13
SHA256: 5da570bb915c9f7a1c5e0166ae54b23daca2eb2bf8d63cd8b793ae9cf173f2e8
SHA512: 37abcb63b3a09e6fb6065e10e00f37058add67b6af9d29c200689612daf64e45c259a7c73625de7266fd372850e938c9e106cea5ff42edec419ba363941aeb74
Homepage: http://farmdev.com/projects/fudge/
Description-en: Python 3 module for using fake objects for tests
Fudge is a Python module for using fake objects (mocks and stubs) to
test real ones.
.
In readable Python code, you declare what methods are available on
your fake and how they should be called. Then you inject that into
your application and start testing. This declarative approach means
you don’t have to record and playback actions and you don’t have to
inspect your fakes after running code. If the fake object was used
incorrectly then you’ll see an informative exception message with a
traceback that points to the culprit.
.
Fudge was inspired by Mocha which is a simpler version of jMock. But
unlike Mocha, Fudge does not automatically hijack real objects; you
explicitly patch them in your test. And unlike jMock, Fudge is only
as strict about expectations as you want it to be. If the type of
arguments sent to the fake method aren’t important then you don’t
have to declare an expectation for them.
.
This is the Python 3 version of the package.
Description-md5: 9a12d4ecc175dbe6541b5ac6decf16dd