def METHOD_NAME(self):
    """
    Invoke query_user() with policy as string
    """
    policy = ""
    try:
        self.client.admin_query_user("foo", policy)
    except e.AerospikeError as exception:
        assert exception.code == -2
        assert exception.msg == "policy must be a dict"