Skip to content

Commit fdb7072

Browse files
fix No No TREATMENT-OUTCOME separator in concrete test setup
1 parent 584f9e2 commit fdb7072

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/json_front_tests/test_json_class.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def test_abstract_test_case_generation(self):
8080
self.json_class.setup()
8181
effects = {"NoEffect": NoEffect()}
8282
mutates = None
83-
expected_effect = dict({"test_input": "NoEffect"})
83+
expected_effect = dict({"test_output": "NoEffect"})
8484
example_test = {
8585
"name": "test1",
8686
"mutations": {},
@@ -100,7 +100,7 @@ def test_execute_concrete_test(self):
100100
"Increase": lambda x: self.json_class.modelling_scenario.treatment_variables[x].z3 >
101101
self.json_class.modelling_scenario.variables[x].z3
102102
}
103-
expected_effect = dict({"test_input": "NoEffect"})
103+
expected_effect = dict({"test_output": "NoEffect"})
104104
example_test = {
105105
"name": "test1",
106106
"mutations": {"test_input": "Increase"},
@@ -152,7 +152,7 @@ def setup_data_file(data_path):
152152
writer.writerow(data)
153153

154154
def setup_dag_file(dag_path):
155-
dag_dot = """digraph G { test_input -> temp; temp -> test_output; temp2 -> test_input; temp2 -> test_output}"""
155+
dag_dot = """digraph G { test_input -> B; B -> C; test_output -> test_input; test_output -> C}"""
156156
with open(dag_path, "w") as f:
157157
f.write(dag_dot)
158158
f.close()

0 commit comments

Comments
 (0)