armi.utils.tests.test_custom_exceptions module

Basic tests of the custom exceptions

class armi.utils.tests.test_custom_exceptions.CustomExceptionTests(methodName='runTest')[source]

Bases: unittest.case.TestCase

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

exampleInfoMessage(**kwargs)

decorated method

test_info_decorator()[source]
exampleImportantMessage(**kwargs)

decorated method

test_important_decorator()[source]
exampleWarnMessage(**kwargs)

decorated method

test_warn_decorator()[source]
exampleWarnWhenRootMessage(**kwargs)
test_warn_when_root_decorator()[source]