示例#1
0
 def test_execute_missing_option(self):
     self.assertFalse(execute(self.missing_option))
示例#2
0
 def test_execute_bad_command(self):
     self.assertFalse(execute(self.bad_command))
示例#3
0
 def test_execute_good_command(self):
     self.assertTrue(execute(self.good_command))
示例#4
0
 def test_execute_missing_option(self):
     self.assertFalse(execute(self.missing_option))
示例#5
0
 def test_execute_bad_command(self):
     self.assertFalse(execute(self.bad_command))
示例#6
0
 def test_execute_good_command(self):
     self.assertTrue(execute(self.good_command))