Tests: added notification on unsuccessful connect().
This commit is contained in:
@@ -60,7 +60,7 @@ class TestHTTP(TestUnit):
|
||||
sock.connect(connect_args)
|
||||
except ConnectionRefusedError:
|
||||
sock.close()
|
||||
return None
|
||||
self.fail('Client can\'t connect to the server.')
|
||||
|
||||
else:
|
||||
sock = kwargs['sock']
|
||||
|
||||
Reference in New Issue
Block a user