diff options
Diffstat (limited to 'test/test_tls.py')
-rw-r--r-- | test/test_tls.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_tls.py b/test/test_tls.py index 06c38d0b..a4dc8ef5 100644 --- a/test/test_tls.py +++ b/test/test_tls.py @@ -28,7 +28,7 @@ class TestTLS(TestApplicationTLS): {"pass": f"applications/{application}"}, f'listeners/*:{port}' ) - def req(self, name='localhost', subject=None, x509=False): + def req(self, name='localhost', subject=None): subj = subject if subject is not None else f'/CN={name}/' subprocess.check_output( @@ -426,7 +426,7 @@ basicConstraints = critical,CA:TRUE""" assert self.get_ssl()['status'] == 200, 'certificate chain long' - def test_tls_certificate_empty_cn(self, temp_dir): + def test_tls_certificate_empty_cn(self): self.certificate('root', False) self.req(subject='/') @@ -442,7 +442,7 @@ basicConstraints = critical,CA:TRUE""" assert cert['chain'][0]['subject'] == {}, 'empty subject' assert cert['chain'][0]['issuer']['common_name'] == 'root', 'issuer' - def test_tls_certificate_empty_cn_san(self, temp_dir): + def test_tls_certificate_empty_cn_san(self): self.certificate('root', False) self.openssl_conf( @@ -535,7 +535,7 @@ basicConstraints = critical,CA:TRUE""" } ), 'load application configuration' - (resp, sock) = self.get_ssl(start=True) + (_, sock) = self.get_ssl(start=True) time.sleep(5) |