Skip to content

Commit

Permalink
add test case for empty_dataframe_with_required_column
Browse files Browse the repository at this point in the history
  • Loading branch information
danlu1 committed Dec 3, 2024
1 parent a74ca79 commit 6c27410
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/test_process_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -772,13 +772,20 @@ def test_check_values_in_column_no_column(input_df, col, values):
["cfDNA", "Tumor", "test_value"],
True,
),
(
pd.DataFrame({"SAMPLE_ID": [], "SAMPLE_CLASS": []}),
"SAMPLE_CLASS",
["cfDNA", "Tumor", "test_value"],
False,
),
],
ids=[
"no_expected_single_value",
"no_expected_value_list",
"have_expected_single_value",
"have_expected_value_list",
"have_partial_expected_value_list",
"empty_dataframe_with_required_column",
],
)
def test_check_values_in_column_has_column(input_df, col, values, expected_results):
Expand Down

0 comments on commit 6c27410

Please sign in to comment.