Example #1
0
 def setUp(self):
     tmpath = self.tmpath = tempfile.mktemp()
     self.tdir = tempfile.mkdtemp()
     touch(tmpath)
     self.zp = archive.ZipPath(self.tdir + '/simple.zip')
     self.zcp = self.zp + 'some.file'
Example #2
0
 def setUp(self):
     self.zp = archive.ZipPath(FIXTURES/'simple.zip')
     tmpath = self.tmpath = tempfile.mktemp()
     self.tdir = tempfile.mkdtemp()
     touch(tmpath)
     self.tzp = archive.ZipPath(self.tdir + '/simple.zip')