pMock has not been under active development since mid 2004. For other suitable mocking frameworks see the Cheescake info on python mock testing tools pMock is a Python module for testing Python code using mock objects. ... import pmock ... class InstrumentTest(unittest.TestCase): def test_low_quality_analysis(self): analyser_mock = pmock.Mock() analyser_mock.expects().analyse(pmock.eq("123")).will

