Exemplo n.º 1
0
 def setUp(self):
     from twisted.test.test_paths import zipit
     LoaderTest.setUp(self)
     zipit(self.parent, self.parent + '.zip')
     self.parent += '.zip'
     self.mangleSysPath(self.oldPath + [self.parent])
Exemplo n.º 2
0
 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)
Exemplo n.º 3
0
 def setUp(self):
     from twisted.test.test_paths import zipit
     LoaderTest.setUp(self)
     zipit(self.parent, self.parent+'.zip')
     self.parent += '.zip'
     self.mangleSysPath(self.oldPath+[self.parent])
Exemplo n.º 4
0
 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)