Fix log access issue for archive integration tests

This commit is contained in:
Serene-Arc authored and Serene committed 2021-05-06 10:06:55 +10:00
1 parent 77f9a7d523
commit fc5f4a0405
1 file changed
+7 -1
+7 -1
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): 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 return out