lisa.tests.base.ResultBundleBase#
- class lisa.tests.base.ResultBundleBase[source]#
Bases:
ExceptionBase class for all result bundles.
Note
__init__is not provided as some classes uses properties to provide some of the attributes.Methods
Trueif theresultisResult.PASSED,Falseotherwise.Lets you append several test
TestMetricto the bundle.
Methods#
- ResultBundleBase.__bool__()[source]#
Trueif theresultisResult.PASSED,Falseotherwise.
- ResultBundleBase.add_metric(name, data, units=None)[source]#
Lets you append several test
TestMetricto the bundle.- Parameters:
TestMetricparameters