summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/lib/oeqa/core/decorator/data.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/core/decorator/data.py b/meta/lib/oeqa/core/decorator/data.py
index ff7bdd98b7..31c6dd6be7 100644
--- a/meta/lib/oeqa/core/decorator/data.py
+++ b/meta/lib/oeqa/core/decorator/data.py
@@ -61,10 +61,10 @@ class skipIfNotInDataVar(OETestDecorator):
61 61
62 attrs = ('var', 'value', 'msg') 62 attrs = ('var', 'value', 'msg')
63 def setUpDecorator(self): 63 def setUpDecorator(self):
64 msg = ('Checking if %r value is in %r to run ' 64 msg = ('Checking if %r value contains %r to run '
65 'the test' % (self.var, self.value)) 65 'the test' % (self.var, self.value))
66 self.logger.debug(msg) 66 self.logger.debug(msg)
67 if not self.value in self.case.td.get(self.var): 67 if not self.value in (self.case.td.get(self.var) or ""):
68 self.case.skipTest(self.msg) 68 self.case.skipTest(self.msg)
69 69
70@registerDecorator 70@registerDecorator