'Query data from the FakeClient object.'

def query(self, query, params=None, expected_response_code=200, database=None):

    if (query == u'Fail'):
        raise Exception(u'Fail')
    elif ((query == u'Fail    once') and (self._host == u'host1')):
        raise Exception(u'Fail    Once')
    elif ((query == u'Fail    twice') and (self._host in u'host1    host2')):
        raise Exception(u'Fail    Twice')
    else:
        return u'Success'
