from pathlib import Path from src.main.python.ddadevops.release_mixin.infrastructure_api import SystemApi class Helper(): def __init__(self, file_name = 'config.json'): self.TEST_FILE_NAME = file_name self.TEST_FILE_ROOT = Path('src/test/resources/') self.TEST_FILE_PATH = self.TEST_FILE_ROOT / self.TEST_FILE_NAME def copy_files(self, source: Path, target: Path): api = SystemApi() api.run_checked('cp', source, target)