diff options
author | Andrei Zeliankou <zelenkov@nginx.com> | 2021-02-23 22:25:47 +0000 |
---|---|---|
committer | Andrei Zeliankou <zelenkov@nginx.com> | 2021-02-23 22:25:47 +0000 |
commit | d0591f07d7681a66197ee9ea4104177f13ccf8df (patch) | |
tree | f386d940050ff9b18080dd06e415f8160dd6fa4c /test/conftest.py | |
parent | af3b6ef37d0d8d4d9e27d77a750419d96e0119bc (diff) | |
download | unit-d0591f07d7681a66197ee9ea4104177f13ccf8df.tar.gz unit-d0591f07d7681a66197ee9ea4104177f13ccf8df.tar.bz2 |
Tests: fixed tests to work without openssl support.
Diffstat (limited to '')
-rw-r--r-- | test/conftest.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/conftest.py b/test/conftest.py index e75f9208..20ac6e81 100644 --- a/test/conftest.py +++ b/test/conftest.py @@ -470,6 +470,9 @@ def _clear_conf(sock, log=None): check_success(resp) + if 'openssl' not in option.available['modules']: + return + try: certs = json.loads(http.get( url='/certificates', |