armi.materials.tests.test__init__ module
Tests the __init__.py file since it has rather unique behavior.
- class armi.materials.tests.test__init__.TestMaterialsInit(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.materials.tests.test__init__.FakeMaterial(yamlPath=None, updateMassFracs=True)[source]
Bases:
Material
- class armi.materials.tests.test__init__.PluginMaterialA[source]
Bases:
ArmiPlugin
- class armi.materials.tests.test__init__.TestMaterialBaseClassHook(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.materials.tests.test__init__.TestYamlMaterial(methodName='runTest')[source]
Bases:
TestCaseTest a custom YAML material.
Test Case: Test a custom YAML material is able to be created, loaded with a reactor, and loaded from a database. T_ARMI_MAT_CUSTOM1Create 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.materials.tests.test__init__.TestPythonMaterial(methodName='runTest')[source]
Bases:
TestCaseTest a custom Python material.
Test Case: Test a custom Python material is able to be created, loaded with a reactor, and loaded from a database. T_ARMI_MAT_CUSTOM0Create 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.