From b23a1aa4a4dd9f09fc199d03f546a8fafc8b27b8 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Thu, 4 Sep 2014 19:08:54 +0200 Subject: much tests. so tcp. very wow. --- test/test_protocol_tcp.py | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 test/test_protocol_tcp.py (limited to 'test/test_protocol_tcp.py') diff --git a/test/test_protocol_tcp.py b/test/test_protocol_tcp.py deleted file mode 100644 index 8b6bb68d..00000000 --- a/test/test_protocol_tcp.py +++ /dev/null @@ -1,21 +0,0 @@ -import tservers -from netlib.certutils import SSLCert - -class TestTcp(tservers.IgnoreProxTest): - ignore = [] - - def test_simple(self): - # i = ignore (tcp passthrough), n = normal - pi, pn = self.pathocs() - i = pi.request("get:'/p/304'") - i2 = pi.request("get:'/p/304'") - n = pn.request("get:'/p/304'") - - assert i.status_code == i2.status_code == n.status_code == 304 - - i_cert = SSLCert(i.sslinfo.certchain[0]) - i2_cert = SSLCert(i2.sslinfo.certchain[0]) - n_cert = SSLCert(n.sslinfo.certchain[0]) - - assert i_cert == i2_cert - assert not i_cert == n_cert \ No newline at end of file -- cgit v1.2.3