armi.tests.test_interfaces module¶
Tests the Interface
- class armi.tests.test_interfaces.DummyInterface(r, cs)[source]¶
Bases:
armi.interfaces.InterfaceConstruct 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.tests.test_interfaces.TestCodeInterface(methodName='runTest')[source]¶
Bases:
unittest.case.TestCaseTest Code interface.
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.