summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorAndrey Zelenkov <zelenkov@nginx.com>2019-09-16 17:49:49 +0300
committerAndrey Zelenkov <zelenkov@nginx.com>2019-09-16 17:49:49 +0300
commitb5394c39568d9895d5c84862e7a209b76f98bea9 (patch)
treed66fb318353714ae28d0e38071a3775d03169ce9 /test
parent65ca2d7b198bf573fe3caf5e75bf6bd3a172820b (diff)
downloadunit-b5394c39568d9895d5c84862e7a209b76f98bea9.tar.gz
unit-b5394c39568d9895d5c84862e7a209b76f98bea9.tar.bz2
Tests: fixed features check.
Diffstat (limited to '')
-rw-r--r--test/unit/main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/main.py b/test/unit/main.py
index d6a14c0e..873f1815 100644
--- a/test/unit/main.py
+++ b/test/unit/main.py
@@ -115,13 +115,13 @@ class TestUnit(unittest.TestCase):
# check features
if 'features' in prerequisites:
- available_features = list(available['modules'].keys())
+ available_features = list(available['features'].keys())
for feature in prerequisites['features']:
if feature in available_features:
continue
- missed.append(feature)
+ missed.append(feature)
if missed:
print(', '.join(missed) + ' feature(s) not supported')