コード例 #1
0
ファイル: tests_cli.py プロジェクト: Viggnesh/haas
 def test_whitespace(self):
     # This should be treated as an empty command.
     cli.run_command('    ')
コード例 #2
0
ファイル: tests_cli.py プロジェクト: Viggnesh/haas
 def test_empty_cmd(self):
     # empty commands should just be ignored.
     cli.run_command('')
コード例 #3
0
ファイル: tests_cli.py プロジェクト: Viggnesh/haas
 def test_wrong_arg_count(self):
     cli.run_command('create_nic 4')
コード例 #4
0
ファイル: tests_cli.py プロジェクト: ritesh277coe/haas
 def test_whitespace(self):
     # This should be treated as an empty command.
     cli.run_command("    ")
コード例 #5
0
ファイル: tests_cli.py プロジェクト: ritesh277coe/haas
 def test_empty_cmd(self):
     # empty commands should just be ignored.
     cli.run_command("")
コード例 #6
0
ファイル: tests_cli.py プロジェクト: ritesh277coe/haas
 def test_wrong_arg_count(self):
     cli.run_command("create_nic 4")