Пример #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))