BaseSuite#

class BaseSuite[source]#

Class for running a set of checks together, and returning a unified pass / no-pass.

Parameters
checks: OrderedDict

A list of checks to run.

name: str

Name of the suite

__init__(name: str, *checks: Union[BaseCheck, BaseSuite])[source]#
__new__(*args, **kwargs)#

Attributes

BaseSuite.checks

BaseSuite.name

Methods

BaseSuite.add(check)

Add a check or a suite to current suite.

BaseSuite.config()

Return suite configuration (checks' conditions' configuration not yet supported).

BaseSuite.from_config(conf)

Return suite object from a CheckConfig object.

BaseSuite.remove(index)

Remove a check by given index.

BaseSuite.supported_checks()

Return list of of supported check types.