@@ -69,9 +69,9 @@ def test_get_websocket_setting(self):
6969 {'service_alias' : 'web-c' , 'path' : '' , 'host' : 'c.com' , 'scheme' : 'wss' , 'port' : '80' },
7070 {'service_alias' : 'web-c' , 'path' : '' , 'host' : 'c.com' , 'scheme' : 'https' , 'port' : '80' }]
7171
72- self .assertEqual (['OPTION http-server-close' ], get_websocket_setting (vhosts , 'web-a' ))
73- self .assertEqual (['OPTION http-server-close' ], get_websocket_setting (vhosts , 'web-b' ))
74- self .assertEqual (['OPTION http-server-close' ], get_websocket_setting (vhosts , 'web-c' ))
72+ self .assertEqual (['option http-server-close' ], get_websocket_setting (vhosts , 'web-a' ))
73+ self .assertEqual (['option http-server-close' ], get_websocket_setting (vhosts , 'web-b' ))
74+ self .assertEqual (['option http-server-close' ], get_websocket_setting (vhosts , 'web-c' ))
7575 self .assertEqual ([], get_websocket_setting (vhosts , 'web-d' ))
7676 self .assertEqual ([], get_websocket_setting (vhosts , 'web-e' ))
7777
@@ -80,7 +80,7 @@ def test_get_balance_setting(self):
8080 'web-b' : {'balance' : '' },
8181 'web-c' : {}}
8282
83- self .assertEqual (["BALANCE balance_a" ], get_balance_setting (details , 'web-a' ))
83+ self .assertEqual (["balance balance_a" ], get_balance_setting (details , 'web-a' ))
8484 self .assertEqual ([], get_balance_setting (details , 'web-b' ))
8585 self .assertEqual ([], get_balance_setting (details , 'web-c' ))
8686 self .assertEqual ([], get_balance_setting (details , 'web-d' ))
@@ -133,7 +133,7 @@ def test_http_check_setting(self):
133133 'web-b' : {'http_check' : '' },
134134 'web-c' : {}}
135135
136- self .assertEqual (["OPTION httpchk check_a" ], get_http_check_setting (details , 'web-a' ))
136+ self .assertEqual (["option httpchk check_a" ], get_http_check_setting (details , 'web-a' ))
137137 self .assertEqual ([], get_http_check_setting (details , 'web-b' ))
138138 self .assertEqual ([], get_http_check_setting (details , 'web-c' ))
139139 self .assertEqual ([], get_http_check_setting (details , 'web-d' ))
@@ -166,8 +166,8 @@ def test_get_options_setting(self):
166166 'web-c' : {'option' : []},
167167 'web-d' : {}}
168168
169- self .assertEqual (["OPTION opt1" , "OPTION opt2" ], get_options_setting (details , 'web-a' ))
170- self .assertEqual (["OPTION opt3" ], get_options_setting (details , 'web-b' ))
169+ self .assertEqual (["option opt1" , "option opt2" ], get_options_setting (details , 'web-a' ))
170+ self .assertEqual (["option opt3" ], get_options_setting (details , 'web-b' ))
171171 self .assertEqual ([], get_options_setting (details , 'web-c' ))
172172 self .assertEqual ([], get_options_setting (details , 'web-d' ))
173173 self .assertEqual ([], get_options_setting (details , 'web-e' ))
0 commit comments