def test_unzip(self): print "TestArchiveUtil : test_unzip" unzip("./test.zip", "./test") with open("./test/testtext.txt", 'r') as f: for l in f.readlines(): print l
def __deploy(ext, from_path, to_path): if ext == ".zip": unzip(from_path, to_path) else: raise NotImplementedError