tests.utils.exceptions package#

Submodules#

tests.utils.exceptions.test_exceptions module#

Module for tests on utility exceptions.

This module contains test cases for testing the exceptions module in the utilities package and all related functionality to the exception module.

Classes:

TestOperationNotAllowedException

class tests.utils.exceptions.test_exceptions.TestOperationNotAllowedException(methodName='runTest')[source]#

Bases: TestCase

Test case class for tests on OperationNotAllowedException utility exception.

test_exception_is_raised_with_default_message() None[source]#

Test that OperationNotAllowedException is raised with default message without passing args to the call. :return: None

test_exception_is_raised_with_set_custom_message() None[source]#

Test that OperationNotAllowedException(custom_message) is raised with the set custom message. :return: None

Module contents#