armi.cases.tests.test_cases module
Unit tests for Case and CaseSuite objects.
- class armi.cases.tests.test_cases.TestArmiCase(methodName='runTest')[source]
Bases:
TestCaseClass to tests armi.cases.Case methods.
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.cases.tests.test_cases.TestCaseSuiteDependencies(methodName='runTest')[source]
Bases:
TestCaseCaseSuite tests.
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_clone()[source]
If you pass an invalid path, the clone can’t happen, but it won’t do any damage either.
- class armi.cases.tests.test_cases.TestExtraInputWriting(methodName='runTest')[source]
Bases:
TestCaseMake sure extra inputs from interfaces are written.
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.cases.tests.test_cases.MultiFilesInterfaces(r, cs)[source]
Bases:
InterfaceA little test interface that adds a setting that we need to test copyInterfaceInputs with multiple files.
Construct an interface.
The
randcsarguments are required, but may beNone, where appropriate for the specificInterfaceimplementation.- Parameters:
r (Reactor) – A reactor to attach to
cs (Settings) – Settings object to use
- Raises:
RuntimeError – Interfaces derived from Interface must define their name
- class armi.cases.tests.test_cases.TestPluginForCopyInterfacesMultipleFiles[source]
Bases:
ArmiPlugin
- class armi.cases.tests.test_cases.TestCopyInterfaceInputs(methodName='runTest')[source]
Bases:
TestCaseEnsure file path is found and updated properly.
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.