File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tests/server_connectivity_tests Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ def test_server_triggers_unexpected_connection_error(self):
159
159
160
160
# When testing connectivity against it
161
161
# It fails and the actual error / root cause is mentioned in the message
162
- with pytest .raises (ConnectionToServerFailed , match = "unrecognized name" ) as e :
162
+ with pytest .raises (ConnectionToServerFailed , match = "unrecognized name" ):
163
163
check_connectivity_to_server (
164
164
server_location = server_location ,
165
165
network_configuration = ServerNetworkConfiguration .default_for_server_location (server_location ),
@@ -175,7 +175,7 @@ def test_server_only_supports_sslv2(self):
175
175
176
176
# When testing connectivity against it
177
177
# It fails and the fact that the server only supports SSL 2.0 is mentioned in the error
178
- with pytest .raises (ConnectionToServerFailed , match = "SSL 2.0" ) as e :
178
+ with pytest .raises (ConnectionToServerFailed , match = "SSL 2.0" ):
179
179
check_connectivity_to_server (
180
180
server_location = server_location ,
181
181
network_configuration = ServerNetworkConfiguration .default_for_server_location (server_location ),
You can’t perform that action at this time.
0 commit comments