Skip to content

Commit 7c426c9

Browse files
committed
add assertion that there are no missing values in any column
1 parent 3385f4c commit 7c426c9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

causalpy/tests/test_data_loading.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@
1010
def test_data_loading(dataset_name):
1111
df = cp.load_data(dataset_name)
1212
assert isinstance(df, pd.DataFrame)
13+
# Check that there are no missing values in any column
14+
assert df.isnull().sum().sum() == 0

0 commit comments

Comments
 (0)