armi.tests.test_apps module

Tests for the App class.

class armi.tests.test_apps.TestPlugin1[source]

Bases: armi.plugins.ArmiPlugin

This should be fine on its own

static defineParameterRenames()[source]
class armi.tests.test_apps.TestPlugin2[source]

Bases: armi.plugins.ArmiPlugin

This should lead to an error if it coexists with Plugin1.

static defineParameterRenames()[source]
class armi.tests.test_apps.TestPlugin3[source]

Bases: armi.plugins.ArmiPlugin

This should lead to errors, since it collides with the framework type param.

static defineParameterRenames()[source]
class armi.tests.test_apps.TestPlugin4[source]

Bases: armi.plugins.ArmiPlugin

This should be fine on its own, and safe to merge with TestPlugin1. And would make for a pretty good rename IRL.

static defineParameterRenames()[source]
class armi.tests.test_apps.TestApps(methodName='runTest')[source]

Bases: unittest.case.TestCase

Test the base apps.App interfaces.

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.

test_getParamRenames()[source]
test_getParamRenamesInvalids()[source]
test_version()[source]
test_getSettings()[source]
test_splashText()[source]
test_splashTextDifferentApp()[source]
test_isStableReleaseVersion()[source]
test_disableFutureConfigures()[source]
class armi.tests.test_apps.TestArmi(methodName='runTest')[source]

Bases: unittest.case.TestCase

Tests for functions in the ARMI __init__ module.

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.

test_getDefaultPlugMan()[source]
test_overConfigured()[source]
test_main()[source]