npu.tests.naips_test

Classes

NAIPSTest([name])

Exceptions

NAIPSTestException([message])

exception npu.tests.naips_test.NAIPSTestException(message='')
Author:

Alberto M. Esmoris Pena

Class for exceptions related to tests. See NAIPS.

__init__(message='')
class npu.tests.naips_test.NAIPSTest(name='NAIPS test')
Author:

Alberto M. Esmoris Pena

Base implementation for any NAIPS test. It must be extended by classes aiming to provide runnable tests. Each derived class must overload the run method to implement the test’s logic.

Variables:

name (str) – The name of the test.

__init__(name='NAIPS test')

Basic configuration for any NAIPS test.

Parameters:

name (str) – Test name

run()

Run the test.

Returns:

True if test is successfully passed, False otherwise.

Return type:

bool

start()

Run the test and report its final status.

Returns:

True when the test has been passed, Fase otherwise.

Return type:

bool