def deleteUserFromProjectGroups(self, auth_user,
                                    project, user, group=None):
        passwd = config.USERS[auth_user]['password']
        umail = config.USERS[user]['email']
        cmd = (auth_user, passwd) % self.base_cmd + "membership remove "
        cmd = cmd + " --project %s --user %s " % (project, umail)
        if group:
            cmd = cmd + " --group %s " % group
        self.exe(cmd)
dataset/ETHPy150Open redhat-cip/software-factory/tests/functional/utils.py/ManageSfUtils.deleteUserFromProjectGroups/swapped operands of `%`