Skip to content

Commit

Permalink
rename one more
Browse files Browse the repository at this point in the history
  • Loading branch information
peterpru committed Jan 17, 2025
1 parent 99403ea commit 9a0dfd9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions tests/cli/workflow/nf_analysis/test_cli_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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."""
Expand Down Expand Up @@ -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."""
Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 9a0dfd9

Please sign in to comment.