예제 #1
0
 def test_cmd_is_not_runnable(self):
     st = cmd_is_runnable(["phython", "-c", "''"])
     self.assertFalse(st)
예제 #2
0
 def test_cmd_is_runnable(self):
     st = cmd_is_runnable(["python", "-c", "''"])
     self.assertTrue(st)