aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2016-03-25 11:59:13 -0700
committerMartin Braun <martin.braun@ettus.com>2016-03-25 12:36:42 -0700
commitf50f46b817315a4438d189cf42140ec71c0a4f6b (patch)
treecd347ee79aa6e224638f81393d091832666253b7
parent70cf1da4bde1358a406ba40aab707643ad6407b9 (diff)
downloaduhd-f50f46b817315a4438d189cf42140ec71c0a4f6b.tar.gz
uhd-f50f46b817315a4438d189cf42140ec71c0a4f6b.tar.bz2
uhd-f50f46b817315a4438d189cf42140ec71c0a4f6b.zip
devtest: fixed check for specific product
-rwxr-xr-xhost/tests/devtest/uhd_test_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/tests/devtest/uhd_test_base.py b/host/tests/devtest/uhd_test_base.py
index 046e6fb47..07a95ae3d 100755
--- a/host/tests/devtest/uhd_test_base.py
+++ b/host/tests/devtest/uhd_test_base.py
@@ -208,7 +208,7 @@ class uhd_example_test_case(uhd_test_case):
Calls run_test().
"""
for test_name, test_args in self.test_params.iteritems():
- if not test_args.has_key('product') or (self.usrp_info['product'] in test_args.get('products', [])):
+ if not test_args.has_key('products') or (self.usrp_info['product'] in test_args.get('products', [])):
run_results = self.run_test(test_name, test_args)
passed = bool(run_results)
if isinstance(run_results, dict):