File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 3
3
import os
4
4
from tests .test_helpers import create_temp_dir_if_non_existent , remove_temp_dir_if_existent
5
5
from causal_testing .json_front .json_class import JsonUtility
6
+ from causal_testing .specification .variable import Input , Output , Meta
6
7
7
8
8
9
class TestJsonClass (unittest .TestCase ):
@@ -24,15 +25,17 @@ def setUp(self) -> None:
24
25
self .input_dict_list = [{"name" : "test_input" , "type" : float , "distribution" : "uniform" }]
25
26
self .output_dict_list = [{"name" : "test_output" , "type" : float }]
26
27
self .meta_dict_list = [{"name" : "test_meta" , "type" : float , "populate" : "populate_num_lines_unit" }]
28
+ self .json_class .set_variables (self .input_dict_list , self .output_dict_list , self .meta_dict_list )
27
29
28
- def test_set_paths (self ):
30
+ def test_setting_paths (self ):
29
31
self .json_class .set_path (self .json_path , self .dag_path , self .data_path )
30
32
self .assertEqual (self .json_class .json_path , Path (self .json_path ))
31
33
self .assertEqual (self .json_class .dag_path , Path (self .dag_path ))
32
34
self .assertEqual (self .json_class .data_path , Path (self .data_path ))
33
35
34
- def test_set_inputs :
36
+ def test_set_inputs ( self ) :
35
37
38
+ pass
36
39
37
40
38
41
def tearDown (self ) -> None :
You can’t perform that action at this time.
0 commit comments