armi.physics.fuelCycle.tests.test_fuelHandlers module¶
Tests some capabilities of the fuel handling machine.
This test is high enough level that it requires input files to be present. The ones to use are called armiRun.yaml which is located in armi.tests
- class armi.physics.fuelCycle.tests.test_fuelHandlers.FuelHandlerTestHelper(methodName='runTest')[source]¶
Bases:
armi.tests.ArmiTestHelperCreate 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.physics.fuelCycle.tests.test_fuelHandlers.MockLatticePhysicsInterface(r, cs)[source]¶
Bases:
armi.physics.neutronics.latticePhysics.latticePhysicsInterface.LatticePhysicsInterfacea mock lattice physics interface that does nothing for interactBOC
- class armi.physics.fuelCycle.tests.test_fuelHandlers.MockXSGM(r, cs)[source]¶
Bases:
armi.physics.neutronics.crossSectionGroupManager.CrossSectionGroupManagera mock cross section group manager that does nothing for interactBOC
- class armi.physics.fuelCycle.tests.test_fuelHandlers.TestFuelHandler(methodName='runTest')[source]¶
Bases:
armi.physics.fuelCycle.tests.test_fuelHandlers.FuelHandlerTestHelperCreate 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_repeatShuffles()[source]¶
Builds a dummy core. Does some shuffles. Repeats the shuffles. Checks that it was a perfect repeat.
Checks some other things in the meantime
See also
runShufflingcreates the shuffling file to be read in.
- test_readMoves()[source]¶
Depends on the
shuffleLogiccreated byrepeatShuffles.See also
runShufflingcreates the shuffling file to be read in.
- test_transferDifferentNumberStationaryBlocks()[source]¶
Test the _transferStationaryBlocks method for the case where the input assemblies have different numbers of stationary blocks.
- test_transferUnalignedLocationStationaryBlocks()[source]¶
Test the _transferStationaryBlocks method for the case where the input assemblies have unaligned locations of stationary blocks.
- class armi.physics.fuelCycle.tests.test_fuelHandlers.TestFuelPlugin(methodName='runTest')[source]¶
Bases:
unittest.case.TestCaseTests that make sure the plugin is being discovered well.
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.