Example #1
0
 def test_run_with_error(self):
     action = vcs.GitCleanupAction(str(uuid.uuid4()))
     result = action.run()
     self.assertIn("list index", str(result.error))
Example #2
0
 def test_run(self):
     action = vcs.GitCleanupAction(self.container)
     action.run()
     self.assertFalse(os.path.exists(self.temp_test_dir))