Пример #1
0
 def it_should_work_with_expectations(self):
     m = Mock()
     m.expects.foobar().called()
     # should error line below is not called
     m.foobar()