Exemple #1
0
 def test_whitespace(self):
     # This should be treated as an empty command.
     cli.run_command('    ')
Exemple #2
0
 def test_empty_cmd(self):
     # empty commands should just be ignored.
     cli.run_command('')
Exemple #3
0
 def test_wrong_arg_count(self):
     cli.run_command('create_nic 4')
Exemple #4
0
 def test_whitespace(self):
     # This should be treated as an empty command.
     cli.run_command("    ")
Exemple #5
0
 def test_empty_cmd(self):
     # empty commands should just be ignored.
     cli.run_command("")
Exemple #6
0
 def test_wrong_arg_count(self):
     cli.run_command("create_nic 4")