diff --git a/tests/cli/workflow/nf_analysis/test_cli_run.py b/tests/cli/workflow/nf_analysis/test_cli_run.py index 1561bf9eeb..c19e8c0ded 100644 --- a/tests/cli/workflow/nf_analysis/test_cli_run.py +++ b/tests/cli/workflow/nf_analysis/test_cli_run.py @@ -206,7 +206,7 @@ def test_resume_case_dry_run( case_id: str = request.getfixturevalue(f"{workflow}_case_id") # GIVEN a mocked config - # request.getfixturevalue(f"{workflow}_mock_config") + # request.getfixturevalue(f"{workflow}_config") # WHEN invoking a command with dry-run and nf-tower-id specified result = cli_runner.invoke( @@ -231,7 +231,7 @@ def test_resume_case_with_missing_tower_id( cli_runner: CliRunner, workflow: Workflow, caplog: LogCaptureFixture, - raredisease_mock_config, + raredisease_config, request: FixtureRequest, ): """Test resume command without providing NF-Tower ID and without existing Trailblazer config file.""" @@ -259,7 +259,7 @@ def test_resume_using_nextflow_dry_run( cli_runner: CliRunner, workflow: Workflow, caplog: LogCaptureFixture, - raredisease_mock_config, + raredisease_config, request: FixtureRequest, ): """Test command with case_id and config file using nextflow.""" diff --git a/tests/conftest.py b/tests/conftest.py index efcc16bbec..59dd031208 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -4102,7 +4102,7 @@ def taxprofiler_mock_analysis_finish( @pytest.fixture(scope="function") -def taxprofiler_mock_config(taxprofiler_dir: Path, taxprofiler_case_id: str) -> None: +def taxprofiler_config(taxprofiler_dir: Path, taxprofiler_case_id: str) -> None: """Create CSV sample sheet file for testing.""" Path.mkdir(Path(taxprofiler_dir, taxprofiler_case_id), parents=True, exist_ok=True) Path(taxprofiler_dir, taxprofiler_case_id, f"{taxprofiler_case_id}_samplesheet").with_suffix(