def METHOD_NAME(self):
    """
    role name not string
    """
    try:
        self.client.admin_grant_privileges(1, [{"code": aerospike.PRIV_USER_ADMIN}])
    except e.ParamError as exception:
        assert exception.code == -2
        assert exception.msg == "Role name should be a string"