def setUp(self): from twisted.python.test.test_zippath import zipit LoaderTests.setUp(self) zipit(self.parent, self.parent + ".zip") self.parent += ".zip" self.mangleSysPath(self.oldPath + [self.parent])
def setUp(self): from twisted.python.test.test_zippath import zipit LoaderTest.setUp(self) zipit(self.parent, self.parent + ".zip") self.parent += ".zip" self.mangleSysPath(self.oldPath + [self.parent])
def _setupSysPath(self): assert not self.pathSetUp zipit(self.pathExtensionName, self.pathExtensionName + ".zip") self.pathExtensionName += ".zip" assert zipfile.is_zipfile(self.pathExtensionName) PathModificationTests._setupSysPath(self)
def _setupSysPath(self): assert not self.pathSetUp zipit(self.pathExtensionName, self.pathExtensionName+'.zip') self.pathExtensionName += '.zip' assert zipfile.is_zipfile(self.pathExtensionName) PathModificationTest._setupSysPath(self)