summaryrefslogtreecommitdiffhomepage
path: root/test/conftest.py
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2022-11-29 01:02:08 +0000
committerAndrei Zeliankou <zelenkov@nginx.com>2022-11-29 01:02:08 +0000
commit190691ade82f5126271b374dd5b8d0cb57f9473a (patch)
treed684510e886fb94c249cb9df1c310a2c42252b05 /test/conftest.py
parente3bbf5b3b5be384a39bbd1c42d44379b17d94185 (diff)
downloadunit-190691ade82f5126271b374dd5b8d0cb57f9473a.tar.gz
unit-190691ade82f5126271b374dd5b8d0cb57f9473a.tar.bz2
Tests: NJS.
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 bf2951db..759f11bd 100644
--- a/test/conftest.py
+++ b/test/conftest.py
@@ -17,6 +17,7 @@ import pytest
from unit.check.chroot import check_chroot
from unit.check.go import check_go
from unit.check.isolation import check_isolation
+from unit.check.njs import check_njs
from unit.check.node import check_node
from unit.check.regex import check_regex
from unit.check.tls import check_openssl
@@ -206,6 +207,7 @@ def pytest_sessionstart(session):
# discover modules from check
option.available['modules']['go'] = check_go()
+ option.available['modules']['njs'] = check_njs(output_version)
option.available['modules']['node'] = check_node(option.current_dir)
option.available['modules']['openssl'] = check_openssl(output_version)
option.available['modules']['regex'] = check_regex(output_version)