summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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')