armi.reactor.tests.test_assemblies module
Tests assemblies.py.
- class armi.reactor.tests.test_assemblies.TestMaterialInAssembly(methodName='runTest')[source]
Bases:
TestCaseCreate 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_assemblies.TestAssemblyReadOnly(methodName='runTest')[source]
Bases:
TestCaseThese tests of Assemblies do not modify the test assembly, which can be created in a setUpClass method.
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_assemblies.TestAssembly(methodName='runTest')[source]
Bases:
TestCaseThese tests of Assemblies modify the test assembly, so each unit tests needs a fresh test assembly.
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_scaleParamsWhenMoved()[source]
Volume integrated parameters must be scaled when an assembly is placed on a core boundary.
- test_averagePlenumTemperature()[source]
Test an assembly’s average plenum temperature with a single block outlet.
- test_assemBlockTypes()[source]
Test that all children of an assembly are blocks, ordered from top to bottom.
Test Case: Validate child types of assembly are blocks, ordered from top to bottom. T_ARMI_ASSEM_BLOCKS
- class armi.reactor.tests.test_assemblies.TestAssemblyInReactor(methodName='runTest')[source]
Bases:
TestCaseCreate 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_assemblies.TestAnnularFuel(methodName='runTest')[source]
Bases:
TestCaseTest fuel with a whole in the center.
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.