From ac9ca6d75cf8987b6650923aa126c0d3ab06f41e Mon Sep 17 00:00:00 2001 From: Andrei Zeliankou Date: Mon, 23 Mar 2020 19:12:22 +0000 Subject: Tests: added notification on unsuccessful connect(). --- test/unit/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/http.py b/test/unit/http.py index 47fb48f1..281b27d6 100644 --- a/test/unit/http.py +++ b/test/unit/http.py @@ -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'] -- cgit