armi.tests.test_plugins module

Provides functionality for testing implementations of plugins.

class armi.tests.test_plugins.TestPlugin(methodName='runTest')[source]

Bases: unittest.case.TestCase

This contains some sanity tests that can be used by implementing plugins.

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.

plugin: Optional[armi.plugins.ArmiPlugin] = None
test_defineBlueprintsSections()[source]

Make sure that the defineBlueprintsSections hook is properly implemented.

test_exposeInterfaces()[source]

Make sure that the exposeInterfaces hook is properly implemented.