tests.roles package#

Submodules#

tests.roles.test_roles module#

Module for tests on [user] roles.

This module contains test cases for testing user roles and their functionality.

Classes:

TestRolesTestCase

class tests.roles.test_roles.TestRolesTestCase(methodName='runTest')[source]#

Bases: TestCase

Test case class for tests for user roles.

setUp() None[source]#

Method defining what must be run before each test method within this class. :return: None

classmethod setUpClass()[source]#

Method defining executions before starting of tests in the class.

Differs from self.setUp() as self.setUp() is called before every test while self.setUpClass() is called before start of all the tests in the class exactly once. :return: None

teatDown() None[source]#

Method defining actions after each test method within this class. :return: None

test_role_enum_class_exists() None[source]#

Tests if the Role enum class exists. :return: None

test_role_enum_has_NOT_SET_attribute() None[source]#

Test role object has NOT_SET attribute :return: None

test_role_enum_has_both_publisher_and_subscriber_representation_entities()[source]#

Tests if the role enum has both publisher and subscriber attributes. :return: None

test_role_is_an_enum_instance_is_of_roles_class()[source]#

Tests if the role object is of type Enum class :return: None

Module contents#