From 0767da14c25899f5320f1203a36db8bf6de1e9cf Mon Sep 17 00:00:00 2001 From: Serene-Arc Date: Sat, 3 Sep 2022 10:47:58 +1000 Subject: [PATCH] Fix clone integration test setup --- tests/integration_tests/test_clone_integration.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/integration_tests/test_clone_integration.py b/tests/integration_tests/test_clone_integration.py index 22c1988..29ec416 100644 --- a/tests/integration_tests/test_clone_integration.py +++ b/tests/integration_tests/test_clone_integration.py @@ -17,11 +17,12 @@ def copy_test_config(run_path: Path): def create_basic_args_for_cloner_runner(test_args: list[str], tmp_path: Path): + copy_test_config(tmp_path) out = [ 'clone', str(tmp_path), '-v', - '--config', 'test_config.cfg', + '--config', str(Path(tmp_path, 'test_config.cfg')), '--log', str(Path(tmp_path, 'test_log.txt')), ] + test_args return out @@ -33,6 +34,8 @@ def create_basic_args_for_cloner_runner(test_args: list[str], tmp_path: Path): @pytest.mark.parametrize('test_args', ( ['-l', 'm2601g'], ['-s', 'TrollXChromosomes/', '-L', 1], + ['-l', 'tr79b'], + ['-l', 'tr6ky'], )) def test_cli_scrape_general(test_args: list[str], tmp_path: Path): runner = CliRunner()