コード例 #1
0
    def test_all_commands_help(self):

        """
        Run all commands with 'help' flags.
        """

        all_commands = get_all_commands()
        for command in all_commands:
            cli_runner.run_cli_expect_system_exit_0("aria {0} -h".format(command))
            cli_runner.run_cli_expect_system_exit_0("aria {0} --help".format(command))
コード例 #2
0
 def test_version(self):
     cli_runner.run_cli_expect_system_exit_0('aria --version')
コード例 #3
0
ファイル: test_version.py プロジェクト: linzhishui/aria-cli
 def test_version(self):
     cli_runner.run_cli_expect_system_exit_0('aria --version')