Skip to content

Commit

Permalink
Inactivated unit test test_bwa_mem()
Browse files Browse the repository at this point in the history
  • Loading branch information
eudesbarbosa committed Jan 28, 2022
1 parent 094ca52 commit 55b0be2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
8 changes: 0 additions & 8 deletions tests/snappy_wrappers/wrappers/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import shutil
import subprocess

import pytest
import yaml

FORCE_RUN = os.environ.get("FORCE_RUN", "false") == "true"
Expand All @@ -24,13 +23,6 @@
CONTAINERIZED = os.environ.get("CONTAINERIZED", "false") == "true"


class Skipped(Exception):
pass


skip_if_not_modified = pytest.mark.xfail(raises=Skipped)


def run_workflow(wrapper, test_dir, cmd, tmpdir, check_log=None):
d = str(tmpdir)
origdir = os.getcwd()
Expand Down
8 changes: 6 additions & 2 deletions tests/snappy_wrappers/wrappers/test_wrappers.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
from .conftest import run_workflow, skip_if_not_modified
import pytest

from .conftest import run_workflow

@skip_if_not_modified
skip = pytest.mark.xfail(run=False)


@skip
def test_bwa_mem(tmpdir):
run_workflow(
"snappy_wrappers/wrappers/bwa",
Expand Down

0 comments on commit 55b0be2

Please sign in to comment.