diff options
Diffstat (limited to 'test/test_tls.py')
-rw-r--r-- | test/test_tls.py | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/test/test_tls.py b/test/test_tls.py index 573e4ae1..5b669ddf 100644 --- a/test/test_tls.py +++ b/test/test_tls.py @@ -18,12 +18,17 @@ class TestTLS(TestApplicationTLS): def add_tls(self, application='empty', cert='default', port=7080): self.conf( - {"application": application, "tls": {"certificate": cert}}, + { + "pass": "applications/" + application, + "tls": {"certificate": cert} + }, 'listeners/*:' + str(port), ) def remove_tls(self, application='empty', port=7080): - self.conf({"application": application}, 'listeners/*:' + str(port)) + self.conf( + {"pass": "applications/" + application}, 'listeners/*:' + str(port) + ) def test_tls_listener_option_add(self): self.load('empty') @@ -482,7 +487,7 @@ basicConstraints = critical,CA:TRUE""" read_timeout=1, ) - self.conf({"application": "empty"}, 'listeners/*:7080') + self.conf({"pass": "applications/empty"}, 'listeners/*:7080') self.conf_delete('/certificates/default') try: |