armi.cli.tests.test_runSuite module

Test for runsuite cli entry point.

class armi.cli.tests.test_runSuite.TestRunSuiteSuite(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.

test_listCommand()[source]

Ensure run-suite entry point is registered.

Test Case: The ARMI CLI can be correctly initialized. T_ARMI_CLI_CS0
signature: test_listCommand
requirements: R_ARMI_CLI_CS
test_showVersion()[source]

Test the ArmiCLI.showVersion method.

Test Case: The ARMI CLI's basic "--version" functionality works. T_ARMI_CLI_CS1
signature: test_showVersion
requirements: R_ARMI_CLI_CS
test_run(mockExeCmd)[source]

Test the ArmiCLI.run method.

Test Case: The ARMI CLI's import run() method works. T_ARMI_CLI_CS2
signature: test_run
requirements: R_ARMI_CLI_CS