def test_passes_fail(self): counter = Fake("counter").expects("set_name").with_args(arg.isinstance(str)) counter.set_name(25)
def test_passes(self): counter = Fake("counter").expects("increment").with_args(arg.isinstance(int)) counter.increment(25)