1
0
Fork 0
mirror of synced 2024-06-22 04:00:20 +12:00

Fix log access issue for archive integration tests

This commit is contained in:
Serene-Arc 2021-05-06 09:59:26 +10:00 committed by Serene
parent 77f9a7d523
commit fc5f4a0405

View file

@ -23,7 +23,13 @@ def create_basic_args_for_download_runner(test_args: list[str], tmp_path: Path):
def create_basic_args_for_archive_runner(test_args: list[str], tmp_path: Path):
out = ['archive', str(tmp_path), '-v', '--config', 'test_config.cfg'] + test_args
out = [
'archive',
str(tmp_path),
'-v',
'--config', 'test_config.cfg',
'--log', str(Path(tmp_path, 'test_log.txt')),
] + test_args
return out