Exemple #1
0
 def test_passes_fail(self):
     counter = Fake("counter").expects("set_name").with_args(arg.isinstance(str))
     counter.set_name(25)
Exemple #2
0
 def test_passes_fail(self):
     counter = Fake("counter").expects("set_name").with_args(arg.isinstance(str))
     counter.set_name(25)
Exemple #3
0
 def test_passes(self):
     counter = Fake("counter").expects("increment").with_args(arg.isinstance(int))
     counter.increment(25)
Exemple #4
0
 def test_passes(self):
     counter = Fake("counter").expects("increment").with_args(arg.isinstance(int))
     counter.increment(25)