@@ -58,9 +58,9 @@ def test_missing_parameters(conn, module_args):
5858
5959def test_set_config (conn , module_args ):
6060 conn .update (
61- params = dict (custom_header_color = "PURPLE" ),
62- _ansible_check_mode = True ,
63- _ansible_diff = True ,
61+ parameters = dict (custom_header_color = "PURPLE" ),
62+ # _ansible_check_mode=True,
63+ # _ansible_diff=True,
6464 )
6565 module_args (conn )
6666
@@ -80,7 +80,7 @@ def test_set_config(conn, module_args):
8080def test_unset_config (conn , module_args ):
8181 module_args ({
8282 ** conn ,
83- "params " : dict (custom_header_color = None )
83+ "parameters " : dict (custom_header_color = None )
8484 })
8585
8686 with pytest .raises (AnsibleExitJson ) as e :
@@ -100,8 +100,8 @@ def test_set_config_with_purge(conn, module_args):
100100 conn .update (
101101 params = dict (custom_header_color = "PURPLE" ),
102102 purge = True ,
103- _ansible_check_mode = True ,
104- _ansible_diff = True ,
103+ # _ansible_check_mode=True,
104+ # _ansible_diff=True,
105105 )
106106 module_args (conn )
107107
@@ -122,8 +122,8 @@ def test_purge_all_config(conn, module_args):
122122 conn .update (
123123 params = dict (),
124124 purge = True ,
125- _ansible_check_mode = True ,
126- _ansible_diff = True ,
125+ # _ansible_check_mode=True,
126+ # _ansible_diff=True,
127127 )
128128 module_args (conn )
129129
@@ -137,4 +137,4 @@ def test_purge_all_config(conn, module_args):
137137 cm_config .main ()
138138
139139 assert e .value .changed == False
140- assert len (e .value .config ) > 1
140+ assert len (e .value .config ) > 1
0 commit comments