testing.unit.test_cli_main module
- class testing.unit.test_cli_main.CommandlineTest(methodName='runTest')[source]
Bases:
UnitTestCaseTest parse_commandline_options
- _classSetupFailed = False
- _class_cleanups = []
- good_args = {'count': '5', 'remove_time': '100', 'source_path': 'foo/bar', 'source_url': 'file://duptest', 'target_path': 'foo/bar', 'target_url': 'file://duptest'}
- run_all_commands_with_errors(new_args, err_msg)[source]
Test all commands with the supplied argument list. Only test command if new_args contains needed arg.
- test_full_command_errors_bad_integer()[source]
test backup, restore, verify with explicit commands - bad integer
- test_full_command_errors_bad_time_string()[source]
test backup, restore, verify with explicit commands - bad time string
- test_full_command_errors_bad_url()[source]
test backup, restore, verify with explicit commands - bad url