lisa.tests.base.ResultBundleBase#
- class lisa.tests.base.ResultBundleBase[source]#
Bases:
Exception
Base class for all result bundles.
Note
__init__
is not provided as some classes uses properties to provide some of the attributes.Methods
True
if theresult
isResult.PASSED
,False
otherwise.Lets you append several test
TestMetric
to the bundle.
Methods#
- ResultBundleBase.__bool__()[source]#
True
if theresult
isResult.PASSED
,False
otherwise.
- ResultBundleBase.add_metric(name, data, units=None)[source]#
Lets you append several test
TestMetric
to the bundle.- Parameters:
TestMetric
parameters