Beispiel #1
0
 def test_extract_method(self):
     with Archive(self.archive) as archive:
         archive.extract(self.tmpdir)
     self.check_files(self.tmpdir)
Beispiel #2
0
 def test_extract_method_no_to_path(self):
     os.chdir(self.tmpdir)
     with Archive(self.archive_path) as archive:
         archive.extract()
     self.check_files(self.tmpdir)
Beispiel #3
0
 def test_extract_method(self):
     Archive(self.archive).extract(self.tmpdir)
     self.check_files(self.tmpdir)