armi.reactor.tests.test_reactors module
Testing for reactors.py.
- class armi.reactor.tests.test_reactors.TestReactor(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_reactors.TestHexReactor(methodName='runTest')[source]
Bases:
TestReactorBase class meant to pair with the
TestHexReactorReadOnlyunit test class.The tests in this class all modify the Reactor object, so we need to create a new test reactor for each test.
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_getSetParameters()[source]
Work through multiple levels of the data model hierarchy to test ability to modify parameters.
- test_restoreReactor()[source]
Restore a reactor after growing it from third to full core.
Test Case: Convert a third-core to a full-core geometry and then restore it. T_ARMI_THIRD_TO_FULL_CORE1
- test_updateBlockBOLHeights_DBLoad()[source]
Test that blueprints assemblies are expanded in DB load.
- class armi.reactor.tests.test_reactors.TestHexReactorReadOnly(methodName='runTest')[source]
Bases:
TestCaseTesting base class meant to pair with the
TestHexReactorunit test class.The tests in this class only READ, and not WRITE to the Reactor object, so we only have to create one test reactor.
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_getNumAssemsWithAllRingsBipass()[source]
Test edge case in getNumAssembliesWithAllRingsFilledOut by bypassing some of the logic.
- test_getAssemblyWithLoc()[source]
Get assembly by location, in a couple different ways to ensure they all work.
- class armi.reactor.tests.test_reactors.TestHexReactorSolo(methodName='runTest')[source]
Bases:
TestReactorTesting base class meant to pair with the
TestHexReactorunit test class.Each test here creates its own, slightly unique, test reactor.
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_reactors.TestBigHexReactor(methodName='runTest')[source]
Bases:
TestReactorTesting base class meant to pair with the
TestHexReactorunit test class.These tests all need a larger test reactor. Ideally, we will migrate these to smaller test reactors one day.
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_reactors.TestCartesianReactor(methodName='runTest')[source]
Bases:
TestReactorCreate 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_reactors.TestCartesianReactorNeighbor(methodName='runTest')[source]
Bases:
TestReactorCreate 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.