From 78d12d482af4a9e55dbe4377ef6685c2802b7ab3 Mon Sep 17 00:00:00 2001 From: Kori Kuzma Date: Mon, 19 Oct 2026 07:52:39 -0400 Subject: [PATCH] fix(test): write vcf rle output to temp dir --- tests/extras/test_annotate_vcf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/extras/test_annotate_vcf.py b/tests/extras/test_annotate_vcf.py index 0f5ca0e6..0d66dbe9 100644 --- a/tests/extras/test_annotate_vcf.py +++ b/tests/extras/test_annotate_vcf.py @@ -233,7 +233,7 @@ def test_get_vrs_object_invalid_input(vcf_annotator: VcfAnnotator, caplog): @pytest.mark.vcr -def test_annotate_vcf_rle(vcf_annotator: VcfAnnotator, vcr_cassette): +def test_annotate_vcf_rle(vcf_annotator: VcfAnnotator, vcr_cassette, tmp_path: Path): """Test VCF annotation with ReferenceLengthExpression states. Tests two variants that should produce ReferenceLengthExpression states: @@ -242,8 +242,8 @@ def test_annotate_vcf_rle(vcf_annotator: VcfAnnotator, vcr_cassette): """ vcr_cassette.allow_playback_repeats = False input_vcf = TEST_DATA_DIR / "test_rle.vcf" - output_vcf = TEST_DATA_DIR / "test_rle_output.vcf" - output_vrs_pkl = TEST_DATA_DIR / "test_rle_output.pkl" + output_vcf = tmp_path / "test_rle_output.vcf" + output_vrs_pkl = tmp_path / "test_rle_output.pkl" # Annotate the VCF with VRS attributes enabled vcf_annotator.annotate(