summaryrefslogtreecommitdiffhomepage
path: root/test/conftest.py
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2021-02-18 21:21:55 +0000
committerAndrei Zeliankou <zelenkov@nginx.com>2021-02-18 21:21:55 +0000
commitaf3b6ef37d0d8d4d9e27d77a750419d96e0119bc (patch)
tree81a0b0ce05367abe3de3fe4990f2a575f2cb2d97 /test/conftest.py
parentecd0fc5d81541e1263a7cc35c632242e33c4082e (diff)
downloadunit-af3b6ef37d0d8d4d9e27d77a750419d96e0119bc.tar.gz
unit-af3b6ef37d0d8d4d9e27d77a750419d96e0119bc.tar.bz2
Tests: added regex check.
Diffstat (limited to 'test/conftest.py')
-rw-r--r--test/conftest.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/conftest.py b/test/conftest.py
index b49fb377..e75f9208 100644
--- a/test/conftest.py
+++ b/test/conftest.py
@@ -19,6 +19,7 @@ from unit.check.go import check_go
from unit.check.isolation import check_isolation
from unit.check.node import check_node
from unit.check.tls import check_openssl
+from unit.check.regex import check_regex
from unit.http import TestHTTP
from unit.option import option
from unit.utils import public_dir
@@ -176,6 +177,7 @@ def pytest_sessionstart(session):
option.current_dir, unit['temp_dir'], option.test_dir
)
option.available['modules']['node'] = check_node(option.current_dir)
+ option.available['modules']['regex'] = check_regex(unit['unitd'])
# remove None values