Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rxu17 committed Nov 16, 2023
1 parent ab7e882 commit 667d48b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_clinical.py
Original file line number Diff line number Diff line change
Expand Up @@ -1120,14 +1120,17 @@ def get_cross_validate_bed_files_test_cases():
},
]


@pytest.mark.parametrize(
"test_cases", get_cross_validate_bed_files_test_cases(), ids=lambda x: x["name"]
)
def test_that_cross_validate_bed_files_exist_returns_correct_msgs(
clin_class, test_cases
):
clin_class.ancillary_files = test_cases["test_ancillary_files"]
missing_files = clin_class._cross_validate_bed_files_exist(test_cases["test_clinical_df"])
missing_files = clin_class._cross_validate_bed_files_exist(
test_cases["test_clinical_df"]
)
assert Counter(test_cases["expected_missing_files"]) == Counter(missing_files)


Expand Down

0 comments on commit 667d48b

Please sign in to comment.