def test_all_commands(self): """ Run all commands. """ all_commands = get_all_commands() for command in all_commands: possible_commands = get_combinations(command) for possible_command in possible_commands: cli_runner.run_cli('cfy {0}'.format(possible_command))
def test_all_commands(self): """ Run all commands. """ all_commands = get_all_commands() for command in all_commands: possible_commands = get_combinations(command) for possible_command in possible_commands: cli_runner.run_cli('aria {0}'.format(possible_command))
def test_all_commands_verbose(self): """ Run all commands with 'verbosity' flags. """ all_commands = get_all_commands() for command in all_commands: possible_commands = get_combinations(command) for possible_command in possible_commands: cli_runner.run_cli('cfy {0} -v'.format(possible_command)) cli_runner.run_cli( 'cfy {0} --verbose'.format(possible_command))
def test_all_commands_verbose(self): """ Run all commands with 'verbosity' flags. """ all_commands = get_all_commands() for command in all_commands: possible_commands = get_combinations(command) for possible_command in possible_commands: cli_runner.run_cli( 'aria {0} -v'.format(possible_command) ) cli_runner.run_cli( 'aria {0} --verbose'.format(possible_command) )
def _test_all_combinations(self, command_path): possible_commands = get_combinations(command_path) for command in possible_commands: cli_runner.run_cli('cfy {0}'.format(command))
def _test_all_combinations(self, command_path): possible_commands = get_combinations(command_path) for command in possible_commands: cli_runner.run_cli('aria {0}'.format(command))