armi.utils.tests.test_flags module¶
Testing flags.py.
- class armi.utils.tests.test_flags.ExampleFlag(init=0)[source]¶
Bases:
armi.utils.flags.Flag
- FOO = <ExampleFlag.FOO: 1>¶
- BAR = <ExampleFlag.BAR: 2>¶
- BAZ = <ExampleFlag.BAZ: 4>¶
- class armi.utils.tests.test_flags.TestFlag(methodName='runTest')[source]¶
Bases:
unittest.case.TestCase
Tests for the utility Flag class and cohorts.
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.