From f61109db84a673caeaaabf9e3c7faedfd37b2b34 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Thu, 17 Sep 2015 02:13:42 +0200 Subject: use new netlib exceptions --- test/test_pathod.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/test_pathod.py') diff --git a/test/test_pathod.py b/test/test_pathod.py index ed37385d..1da2633f 100644 --- a/test/test_pathod.py +++ b/test/test_pathod.py @@ -4,7 +4,7 @@ import OpenSSL from libpathod import pathod, version from netlib import tcp, http -from netlib.exceptions import HttpException +from netlib.exceptions import HttpException, TlsException import tutils @@ -264,7 +264,7 @@ class TestDaemonSSL(CommonTests): c.wbufsize = 0 c.connect() c.wfile.write("\0\0\0\0") - tutils.raises(tcp.NetLibError, c.convert_to_ssl) + tutils.raises(TlsException, c.convert_to_ssl) l = self.d.last_log() assert l["type"] == "error" assert "SSL" in l["msg"] -- cgit v1.2.3