summaryrefslogtreecommitdiffhomepage
path: root/test/test_routing_tls.py
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2019-12-09 15:34:35 +0300
committerAndrei Zeliankou <zelenkov@nginx.com>2019-12-09 15:34:35 +0300
commitc2a7e403ef1ed51ef72af536a2915e33a0a5ab19 (patch)
tree1f34e846c30be2884d5a416825e45e013d9ab7a8 /test/test_routing_tls.py
parent752ffd1950619c62972b5b8dc0520754b7363345 (diff)
downloadunit-c2a7e403ef1ed51ef72af536a2915e33a0a5ab19.tar.gz
unit-c2a7e403ef1ed51ef72af536a2915e33a0a5ab19.tar.bz2
Tests: routing tests refactored.
Diffstat (limited to 'test/test_routing_tls.py')
-rw-r--r--test/test_routing_tls.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/test_routing_tls.py b/test/test_routing_tls.py
index 3df2bc82..c6648095 100644
--- a/test/test_routing_tls.py
+++ b/test/test_routing_tls.py
@@ -48,10 +48,8 @@ class TestRoutingTLS(TestApplicationTLS):
'scheme configure',
)
- self.assertEqual(self.get()['status'], 200, 'scheme http')
- self.assertEqual(
- self.get_ssl(port=7081)['status'], 204, 'scheme https'
- )
+ self.assertEqual(self.get()['status'], 200, 'http')
+ self.assertEqual(self.get_ssl(port=7081)['status'], 204, 'https')
if __name__ == '__main__':