def test_apply_target(self, base): apply_target(Mock(), getpid=Mock()) self.assertTrue(base.apply_target.called)
def test_apply_target(self, base): apply_target(Mock(), getpid=Mock()) base.apply_target.assert_called()