@@ -97,6 +97,7 @@ def test_split_options(self):
9797 self .assertRaises (ConfigurationError , split_options , 'foo' )
9898 self .assertRaises (ConfigurationError , split_options , 'foo=bar;foo' )
9999 self .assertTrue (split_options ('ssl=true' ))
100+ self .assertTrue (split_options ('connect=true' ))
100101 self .assertTrue (split_options ('ssl_match_hostname=true' ))
101102
102103 # Test Invalid URI options that should throw warnings.
@@ -118,6 +119,8 @@ def test_split_options(self):
118119 'connectTimeoutMS=-1e100000' , warn = True )
119120 self .assertRaises (Warning , split_options ,
120121 'ssl=foo' , warn = True )
122+ self .assertRaises (Warning , split_options ,
123+ 'connect=foo' , warn = True )
121124 self .assertRaises (Warning , split_options ,
122125 'ssl_match_hostname=foo' , warn = True )
123126
@@ -153,6 +156,7 @@ def test_split_options(self):
153156 self .assertRaises (ValueError , split_options ,
154157 'connectTimeoutMS=-1e100000' )
155158 self .assertRaises (ValueError , split_options , 'ssl=foo' )
159+ self .assertRaises (ValueError , split_options , 'connect=foo' )
156160 self .assertRaises (ValueError , split_options , 'ssl_match_hostname=foo' )
157161 if not (sys .platform == "win32" and sys .version_info <= (2 , 5 )):
158162 self .assertRaises (ValueError , split_options ,
0 commit comments