km3test.testing

Basic classes for test execution

Module Contents

Classes

TestCriteria

Class to hold criteria for a test to evaluate test value against

KM3Test

Class to perform single test

class km3test.testing.TestCriteria(testfunctionname='Undefined', configvalues=None)[source]

Class to hold criteria for a test to evaluate test value against

check(self, value, valuetype='Undefined')[source]
class km3test.testing.KM3Test[source]

Class to perform single test

Parameters: - uuid: uuid, automatic identifier - status: str, status toggle for outcome of test: undefined, open, passed, invalid, failed - result: dict, holds outcome of the test

set_config(self, configdict)[source]
get_status(self)[source]
get_result(self)[source]
perform_test(self)[source]