tests package#

Subpackages#

Submodules#

tests.test_application module#

Test the Application class.

class tests.test_application.TestApplication(methodName='runTest')[source]#

Bases: TestCase

Unit test class for the Application class.

setUp()[source]#

Hook method for setting up the test fixture before exercising it.

test_add_component()[source]#

Tests adding a component to the application.

tests.test_state module#

Tests for the State class.

class tests.test_state.TestState(methodName='runTest')[source]#

Bases: TestCase

Unit test class for the State class.

test_call_method()[source]#

Tests calling a method from the state.

test_get_attribute()[source]#

Tests getting an attribute from the state.

test_get_non_existing_attribute()[source]#

Tests getting a non-existing attribute from the state.

test_set_attribute()[source]#

Tests setting an attribute in the state.

class tests.test_state.TestStore(methodName='runTest')[source]#

Bases: TestCase

Unit test class for the Store class.

test_decrement()[source]#

Tests decrementing the count.

test_hello()[source]#

Tests the hello method.

test_increment()[source]#

Tests incrementing the count.

Module contents#