diff options
author | Andrey Zelenkov <zelenkov@nginx.com> | 2019-09-16 17:49:49 +0300 |
---|---|---|
committer | Andrey Zelenkov <zelenkov@nginx.com> | 2019-09-16 17:49:49 +0300 |
commit | b5394c39568d9895d5c84862e7a209b76f98bea9 (patch) | |
tree | d66fb318353714ae28d0e38071a3775d03169ce9 /test/unit/main.py | |
parent | 65ca2d7b198bf573fe3caf5e75bf6bd3a172820b (diff) | |
download | unit-b5394c39568d9895d5c84862e7a209b76f98bea9.tar.gz unit-b5394c39568d9895d5c84862e7a209b76f98bea9.tar.bz2 |
Tests: fixed features check.
Diffstat (limited to '')
-rw-r--r-- | test/unit/main.py | 4 |
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') |