armi.reactor.tests.test_parameters module¶
tests of the Parameters class
- class armi.reactor.tests.test_parameters.MockCompositeParent(name)[source]¶
Bases:
armi.reactor.tests.test_parameters.MockCompositeGrandParent
- class armi.reactor.tests.test_parameters.MockCompositeChild(name)[source]¶
Bases:
armi.reactor.tests.test_parameters.MockCompositeParent
- class armi.reactor.tests.test_parameters.ParameterTests(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.
- class armi.reactor.tests.test_parameters.MockSyncPC(_state: Optional[List[Any]] = None)[source]¶
Bases:
armi.reactor.parameters.parameterCollections.ParameterCollection
Create a new ParameterCollection instance.
- Parameters
_state – Optional list of parameter values, ordered by _allFields. Passed values should come from a call to __getstate__(). This should only be used internally to this model.
- pDefs: armi.reactor.parameters.parameterDefinitions.ParameterDefinitionCollection = <armi.reactor.parameters.parameterDefinitions.ParameterDefinitionCollection object>¶
- pb = <armi.reactor.parameters.parameterDefinitions.ParameterBuilder object>¶