Esempio n. 1
0
 def tearDown(self):
   StdoutCheck.tearDown(self)
   TestCaseUtils.tearDown(self)
   unittest.TestCase.tearDown(self)
   rmtree(self.root_dir)
   gclient_scm.GitWrapper.BinaryExists = self._original_GitBinaryExists
   gclient_scm.SVNWrapper.BinaryExists = self._original_SVNBinaryExists
Esempio n. 2
0
 def tearDown(self):
   try:
     rmtree(self.root_dir)
     StdoutCheck.tearDown(self)
     TestCaseUtils.tearDown(self)
     unittest.TestCase.tearDown(self)
   finally:
     # TODO(maruel): Use auto_stub.TestCase.
     gclient_scm.GitWrapper.BinaryExists = self._original_GitBinaryExists
Esempio n. 3
0
 def tearDown(self):
   try:
     rmtree(self.root_dir)
     StdoutCheck.tearDown(self)
     TestCaseUtils.tearDown(self)
     unittest.TestCase.tearDown(self)
   finally:
     # TODO(maruel): Use auto_stub.TestCase.
     gclient_scm.GitWrapper.BinaryExists = self._original_GitBinaryExists
     gclient_scm.SVNWrapper.BinaryExists = self._original_SVNBinaryExists
Esempio n. 4
0
 def tearDown(self):
   StdoutCheck.tearDown(self)
   TestCaseUtils.tearDown(self)
   unittest.TestCase.tearDown(self)
   rmtree(self.root_dir)