Skip to content

Commit

Permalink
fix tests for new column
Browse files Browse the repository at this point in the history
  • Loading branch information
yusufuyanik1 committed Dec 15, 2023
1 parent fb7c3c2 commit b56e4a2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python/tests/test_ADMDatamart.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ def test_import_utils_with_importing(test):
"PredictorName",
"Treatment",
"Type",
"GroupIndex"
}


Expand Down Expand Up @@ -148,7 +149,7 @@ def test_import_utils(test, data):
timestamp_fmt="%Y-%m-%d %H:%M:%S",
typesetting_table="ADMModelSnapshot",
)
assert len(missing) == 19
assert len(missing) == 20
assert isinstance(output, pl.LazyFrame)
output = output.collect()
assert output.shape == (3, 3)
Expand Down Expand Up @@ -345,7 +346,7 @@ def test_filter_also_filters_predictorData():
context_keys=["Issue", "Group", "Channel", "Direction"],
verbose=True,
query=pl.col("Channel") == "Email",
).predictorData.shape == (18742, 18)
).predictorData.shape == (18742, 19)


def test_lazy_strategy():
Expand Down

0 comments on commit b56e4a2

Please sign in to comment.