From ed064b84b6f00ce7f6740ba486c54f6a53897b30 Mon Sep 17 00:00:00 2001
From: Nicolas KAROLAK <nicolas@karolak.fr>
Date: Fri, 30 Nov 2018 15:31:19 +0100
Subject: [PATCH] fix custom port test

---
 tests/test_ssl.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test_ssl.py b/tests/test_ssl.py
index d6432d58..29d5278b 100755
--- a/tests/test_ssl.py
+++ b/tests/test_ssl.py
@@ -59,7 +59,7 @@ for s, d in conf_servers:
 
     # check if custom port is used
     v_split = v.split(":")
-    if v_split > 1:
+    if len(v_split) > 1:
         server_name = v_split[0]
         port = int(v_split[1])
     else:
-- 
GitLab