Skip to content

Commit 619b50b

Browse files
Add metas test
1 parent 495818b commit 619b50b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/json_front_tests/test_json_class.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ def test_set_inputs(self):
4141
self.assertEqual(self.json_class.inputs, ctf_input)
4242

4343
def test_set_outputs(self):
44-
ctf_input = Output("test_output", float)
45-
self.assertEqual(self.json_class.inputs, ctf_input)
44+
ctf_output = Output("test_output", float)
45+
self.assertEqual(self.json_class.outputs, ctf_output)
4646

4747
def test_set_metas(self):
48-
ctf_input = Input("test_meta", float, populate_example)
49-
self.assertEqual(self.json_class.inputs, ctf_input)
48+
ctf_meta = Input("test_meta", float, populate_example)
49+
self.assertEqual(self.json_class.metas, ctf_meta)
5050

5151
def tearDown(self) -> None:
5252
remove_temp_dir_if_existent()

0 commit comments

Comments
 (0)