Beispiel #1
0
 def setUp(self):
     self.engine = rpncalculator.Engine()
Beispiel #2
0
 def setUp(self):
     self.engine = rpncalculator.Engine(auto_register=False)
Beispiel #3
0
 def setUp(self):
     self.parser = rpncalculator.Parser()
     self.engine = rpncalculator.Engine()
     self.engine.push = mock.MagicMock(return_value=None)
     self.engine.execute = mock.MagicMock(return_value=0)