def _s2i_command(self, args): """ return s2i command to run :param args: list of str, arguments and options passed to s2i binary :return: list of str """ s2i_command_exists() return ["s2i"] + args
def test_required_binaries_exist(): # should work since we have all the deps installed assert s2i_command_exists() assert atomic_command_exists() assert getenforce_command_exists() assert chcon_command_exists() assert setfacl_command_exists()