def test_cmd_is_not_runnable(self): st = cmd_is_runnable(["phython", "-c", "''"]) self.assertFalse(st)
def test_cmd_is_runnable(self): st = cmd_is_runnable(["python", "-c", "''"]) self.assertTrue(st)