summaryrefslogtreecommitdiffhomepage
path: root/test/test_tls.py
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2022-05-09 10:14:29 +0100
committerAndrei Zeliankou <zelenkov@nginx.com>2022-05-09 10:14:29 +0100
commit03a7701133887dbf7e8eb8d80c4d2473f97477a7 (patch)
tree40575eaa439e6ffc0e9170cf5f9e5d4746f9852a /test/test_tls.py
parent9c276d4d609577d574de6f1cc6fbe8101fa8536a (diff)
downloadunit-03a7701133887dbf7e8eb8d80c4d2473f97477a7.tar.gz
unit-03a7701133887dbf7e8eb8d80c4d2473f97477a7.tar.bz2
Tests: added more tests with reconfiguration.
Diffstat (limited to 'test/test_tls.py')
-rw-r--r--test/test_tls.py21
1 files changed, 0 insertions, 21 deletions
diff --git a/test/test_tls.py b/test/test_tls.py
index dab8ffba..56ee8298 100644
--- a/test/test_tls.py
+++ b/test/test_tls.py
@@ -493,27 +493,6 @@ basicConstraints = critical,CA:TRUE"""
}, 'subject alt_names'
assert cert['chain'][0]['issuer']['common_name'] == 'root', 'issuer'
- @pytest.mark.skip('not yet')
- def test_tls_reconfigure(self):
- self.load('empty')
-
- assert self.get()['status'] == 200, 'init'
-
- self.certificate()
-
- (resp, sock) = self.get(
- headers={'Host': 'localhost', 'Connection': 'keep-alive'},
- start=True,
- read_timeout=1,
- )
-
- assert resp['status'] == 200, 'initial status'
-
- self.add_tls()
-
- assert self.get(sock=sock)['status'] == 200, 'reconfigure status'
- assert self.get_ssl()['status'] == 200, 'reconfigure tls status'
-
def test_tls_keepalive(self):
self.load('mirror')