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