Skip to content

Commit e2aef75

Browse files
committed
Fixed causal test adequacy unit tests
1 parent 0d76e92 commit e2aef75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/testing_tests/test_causal_test_adequacy.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def test_data_adequacy_numeric(self):
7070
)
7171
self.assertEqual(
7272
test_results[0]["result"].adequacy.to_dict(),
73-
{"kurtosis": {"test_input": 0.0}, "bootstrap_size": 100, "passing": 100},
73+
{"kurtosis": {"test_input": 0.0}, "bootstrap_size": 100, "passing": 100, "successful": 100},
7474
)
7575

7676
def test_data_adequacy_cateogorical(self):
@@ -103,7 +103,7 @@ def test_data_adequacy_cateogorical(self):
103103
print(test_results[0]["result"])
104104
self.assertEqual(
105105
test_results[0]["result"].adequacy.to_dict(),
106-
{"kurtosis": {"test_input_no_dist[T.b]": 0.0}, "bootstrap_size": 100, "passing": 100},
106+
{"kurtosis": {"test_input_no_dist[T.b]": 0.0}, "bootstrap_size": 100, "passing": 100, "successful": 100},
107107
)
108108

109109
def test_dag_adequacy_dependent(self):

0 commit comments

Comments
 (0)