Beispiel #1
0
 def setUp(self):
   self.args = self.Args()
   self.url = 'git://foo'
   self.root_dir = tempfile.mkdtemp()
   self.relpath = '.'
   self.base_path = gclient_scm.os.path.join(self.root_dir, self.relpath)
   self.enabled = self.CreateGitRepo(self.sample_git_import, self.base_path)
   SuperMoxBaseTestBase.setUp(self)
Beispiel #2
0
 def tearDown(self):
   SuperMoxBaseTestBase.tearDown(self)
   shutil.rmtree(self.root_dir)