Example #1
0
 def test_not_run_bootstrap(self):
     self.exists.return_value = True
     build.bootstrap()
     self.assertFalse(self.call.called)
Example #2
0
 def test_run_boostrap(self):
     self.exists.return_value = False
     build.bootstrap()
     self.call.assert_called_with(
         ['python', 'bootstrap.py'])