diff --git a/tests/pytest/test_ONT_run_classes.py b/tests/pytest/test_ONT_run_classes.py index 10069e76..ede4b814 100644 --- a/tests/pytest/test_ONT_run_classes.py +++ b/tests/pytest/test_ONT_run_classes.py @@ -8,9 +8,6 @@ from taca.nanopore import ONT_run_classes -# To check coverage, use -# pytest -s --cov=taca.nanopore.ONT_run_classes --cov-report term-missing -vv tests/pytest/test_ONT_run_classes.py - def make_test_config(tmp): test_config_yaml_string = f"""mail: diff --git a/tests/pytest/test_analysis_nanopore.py b/tests/pytest/test_analysis_nanopore.py index d850dabe..60e068d3 100644 --- a/tests/pytest/test_analysis_nanopore.py +++ b/tests/pytest/test_analysis_nanopore.py @@ -9,9 +9,6 @@ from taca.analysis import analysis_nanopore -# To check coverage, use -# pytest -s --log-cli-level=INFO --cov=taca.analysis.analysis_nanopore --cov-report term-missing -vv tests/pytest/test_analysis_nanopore.py - def test_ont_transfer(create_dirs, caplog): """Test the "taca analaysis ont-transfer" subcommand automation from @@ -24,7 +21,7 @@ def test_ont_transfer(create_dirs, caplog): # Create test config test_config_yaml = make_test_config(tmp) - # === MOCKS ============================================================= + ## MOCKS # Mock config patch("taca.utils.config.CONFIG", new=test_config_yaml).start() @@ -59,7 +56,7 @@ def side_effect(*args, **kwargs): # Reload module to implement mocks importlib.reload(analysis_nanopore) - # === CREATE RUN DIRS =================================================== + ## CREATE RUN DIRS # User run create_run_dir( diff --git a/tests/pytest/test_instrument_transfer.py b/tests/pytest/test_instrument_transfer.py index 8765d29f..8becb274 100644 --- a/tests/pytest/test_instrument_transfer.py +++ b/tests/pytest/test_instrument_transfer.py @@ -10,9 +10,6 @@ DUMMY_RUN_NAME = "20240112_2342_MN19414_TEST12345_randomhash" -# To check coverage, use -# pytest -c /dev/null -s --cov=taca.nanopore.instrument_transfer --cov-report term-missing -vv tests/pytest/test_instrument_transfer.py - @pytest.fixture def setup_test_fixture():