def test_to_tar_flow(self) -> NoReturn:
     Archiver.to_tar_flow({fn: fn for fn in self.files}, self.arch_name)
     assert os.path.exists(self.arch_name + ".tar"), "archive not exist"
예제 #2
0
 def archive(self, path: str = None) -> object:
     """ Generate tar file with FPGA config files for specific project """
     Archiver.to_tar_flow(self.configs, path=path or self.project_name)
     return self