armi.settings.tests.test_settingsIO module
Testing the settingsIO.
- class armi.settings.tests.test_settingsIO.SettingsFailureTests(methodName='runTest')[source]
Bases:
TestCase
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.settings.tests.test_settingsIO.SettingsReaderTests(methodName='runTest')[source]
Bases:
TestCase
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.settings.tests.test_settingsIO.SettingsRenameTests(methodName='runTest')[source]
Bases:
TestCase
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.
- testSettings = [<Setting testSetting1 value:None default:None>, <Setting testSetting2 value:None default:None>, <Setting testSetting3 value:None default:None>]
- class armi.settings.tests.test_settingsIO.SettingsWriterTests(methodName='runTest')[source]
Bases:
TestCase
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.settings.tests.test_settingsIO.MockEntryPoint[source]
Bases:
EntryPoint
- name: Optional[str] = 'dummy'
The <command-name> that is used to call the command from the command line
- settingsArgument: Optional[str] = None
One of {‘optional’, ‘required’, None}, or unspecified. Specifies whether a settings file argument is to be added to the command’s argument parser. If settingsArgument == ‘required’, then a settings file is a required positional argument. If settingsArgument == ‘optional’, then it is an optional positional argument. Finally, if settingsArgument is None, then no settings file argument is added.