示例#1
0
 def test_whitespace(self):
     # This should be treated as an empty command.
     cli.run_command('    ')
示例#2
0
 def test_empty_cmd(self):
     # empty commands should just be ignored.
     cli.run_command('')
示例#3
0
 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")