def _respond(self, **kw):
    self._requested.append(kw)
    (response, self._responses) = (self._responses[0], self._responses[1:])
    return response
def _respond(self, **kw):
    self._requested.append(kw)
    (response, self._responses) = (self._responses[0], self._responses[1:])
    return response