hardware_testbench: better message when skipping

This commit is contained in:
Robert Jördens 2016-03-10 12:34:06 +01:00
parent f68c24094f
commit a618a6d03a

View File

@ -107,7 +107,8 @@ class ExperimentCase(unittest.TestCase):
return exp
except KeyError as e:
# skip if ddb does not match requirements
raise unittest.SkipTest(*e.args)
raise unittest.SkipTest(
"device_db entry `{}` not found".format(*e.args))
def execute(self, cls, **kwargs):
expid = {