Skip to content

Commit

Permalink
fixup! Skip SRA-tools test, if not installed
Browse files Browse the repository at this point in the history
  • Loading branch information
padix-key committed Dec 15, 2024
1 parent 565c9c0 commit fe77dbf
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/application/test_sra.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
from tests.util import is_not_installed


@pytest.mark.skipif(is_not_installed("fasterq-dump"), reason="sra-tools is not installed")
@pytest.mark.skipif(
is_not_installed("fasterq-dump"), reason="sra-tools is not installed"
)
@pytest.mark.parametrize(
"app_class, custom_prefix",
itertools.product([FastqDumpApp, FastaDumpApp], [False, True]),
Expand Down Expand Up @@ -44,7 +46,9 @@ def test_objects(app_class, custom_prefix):
assert isinstance(fasta_file, FastaFile)


@pytest.mark.skipif(is_not_installed("fasterq-dump"), reason="sra-tools is not installed")
@pytest.mark.skipif(
is_not_installed("fasterq-dump"), reason="sra-tools is not installed"
)
@pytest.mark.parametrize(
"app_class, custom_prefix",
itertools.product([FastqDumpApp, FastaDumpApp], [False, True]),
Expand Down

0 comments on commit fe77dbf

Please sign in to comment.