armi.tests.test_interfaces module¶
Tests the Interface
- class armi.tests.test_interfaces.DummyInterface(r, cs)[source]¶
Bases:
armi.interfaces.Interface
Construct an interface.
The
r
andcs
arguments are required, but may beNone
, where appropriate for the specificInterface
implementation.- 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.TestCase
Test 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.