예제 #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
 def test_whitespace(self):
     # This should be treated as an empty command.
     cli.run_command("    ")
예제 #5
0
 def test_empty_cmd(self):
     # empty commands should just be ignored.
     cli.run_command("")
예제 #6
0
 def test_wrong_arg_count(self):
     cli.run_command("create_nic 4")