diff --git a/tests/cli/test_cli.py b/tests/cli/test_cli.py index bf58d4e..a043b1e 100644 --- a/tests/cli/test_cli.py +++ b/tests/cli/test_cli.py @@ -19,3 +19,8 @@ def test_stranger_cli_zipped(vcf_zipped_path): runner = CliRunner() result = runner.invoke(cli, [vcf_zipped_path]) assert result.exit_code == 0 + +def test_stranger_trgt_dot_mc(vcf_trgt_path_dot_mc): + runner = CliRunner() + result = runner.invoke(cli, ["--trgt", vcf_trgt_path_dot_mc]) + assert result.exit_code == 0 diff --git a/tests/conftest.py b/tests/conftest.py index 79c5889..f62de16 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -15,6 +15,11 @@ def vcf_zipped_path(): return "tests/fixtures/643594.clinical.str.vcf.gz" +@pytest.fixture() +def vcf_trgt_path_dot_mc(): + return "tests/fixtures/HG002_Revio.sort.vcf.gz" + @pytest.fixture() def repeats_file_handle(): return open(repeats_path, "r") + diff --git a/tests/fixtures/HG002_Revio.sort.vcf.gz b/tests/fixtures/HG002_Revio.sort.vcf.gz new file mode 100644 index 0000000..75308d9 Binary files /dev/null and b/tests/fixtures/HG002_Revio.sort.vcf.gz differ diff --git a/tests/fixtures/HG002_Revio.sort.vcf.gz.tbi b/tests/fixtures/HG002_Revio.sort.vcf.gz.tbi new file mode 100644 index 0000000..b9b44b9 Binary files /dev/null and b/tests/fixtures/HG002_Revio.sort.vcf.gz.tbi differ