Skip to content

Commit

Permalink
fix pytests
Browse files Browse the repository at this point in the history
  • Loading branch information
fevac committed Dec 14, 2023
1 parent 3423e59 commit 635d307
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/cli/workflow/rnafusion/test_cli_rnafusion_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def test_with_config_use_nextflow(
assert result.exit_code == EXIT_SUCCESS

# THEN command should use nextflow
assert "using nextflow" in caplog.text
assert "using Nextflow" in caplog.text
assert "path/to/bin/nextflow" in caplog.text
assert "-work-dir" in caplog.text

Expand Down Expand Up @@ -145,7 +145,7 @@ def test_with_config(
assert result.exit_code == EXIT_SUCCESS

# THEN command should use tower
assert "using tower" in caplog.text
assert "using Tower" in caplog.text
assert "path/to/bin/tw launch" in caplog.text
assert "--work-dir" in caplog.text

Expand Down
4 changes: 2 additions & 2 deletions tests/cli/workflow/taxprofiler/test_cli_taxprofiler_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def test_with_config_use_nextflow(
assert result.exit_code == EXIT_SUCCESS

for message in [
"using nextflow",
"using Nextflow",
"path/to/bin/nextflow",
"-work-dir",
"-params-file",
Expand Down Expand Up @@ -97,7 +97,7 @@ def test_with_config_use_tower(
# THEN command should use tower

for message in [
"using tower",
"using Tower",
"path/to/bin/tw launch",
]:
assert message in caplog.text
Expand Down

0 comments on commit 635d307

Please sign in to comment.