Binary package “python-mocker” in ubuntu bionic
Mocker object mocking framework
Mocker provides an API for mocking Python objects in unit tests. Mocker
provides graceful creation of test doubles (mocks, stubs, fakes, and dummies)
for Python testing needs.