@@ -30,19 +30,25 @@ def run_test(self):
30
30
31
31
# Assert settings are parsed and logged
32
32
with settings .open ("w" ) as fp :
33
- json .dump ({"string" : "string" , "num" : 5 , "bool" : True , "null" : None , "list" : [6 ,7 ]}, fp )
33
+ json .dump ({"string" : "string" , "num" : 5 , "bool" : True , "null" : None , "list" : [6 , 7 ]}, fp )
34
34
with node .assert_debug_log (expected_msgs = [
35
+ 'Ignoring unknown rw_settings value bool' ,
36
+ 'Ignoring unknown rw_settings value list' ,
37
+ 'Ignoring unknown rw_settings value null' ,
38
+ 'Ignoring unknown rw_settings value num' ,
39
+ 'Ignoring unknown rw_settings value string' ,
35
40
'Setting file arg: string = "string"' ,
36
41
'Setting file arg: num = 5' ,
37
42
'Setting file arg: bool = true' ,
38
43
'Setting file arg: null = null' ,
39
- 'Setting file arg: list = [6,7]' ]):
44
+ 'Setting file arg: list = [6,7]' ,
45
+ ]):
40
46
self .start_node (0 )
41
47
self .stop_node (0 )
42
48
43
49
# Assert settings are unchanged after shutdown
44
50
with settings .open () as fp :
45
- assert_equal (json .load (fp ), {"string" : "string" , "num" : 5 , "bool" : True , "null" : None , "list" : [6 ,7 ]})
51
+ assert_equal (json .load (fp ), {"string" : "string" , "num" : 5 , "bool" : True , "null" : None , "list" : [6 , 7 ]})
46
52
47
53
# Test invalid json
48
54
with settings .open ("w" ) as fp :
0 commit comments