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)
def tearDown(self): SuperMoxBaseTestBase.tearDown(self) shutil.rmtree(self.root_dir)