Since virtual broker state is now global, so must the Redis server mock be

This commit is contained in:
Ask Solem 2010-12-07 16:05:06 +01:00
parent 5494317a04
commit b5f92c4929
1 changed files with 2 additions and 2 deletions

View File

@ -18,13 +18,13 @@ class ResponseError(Exception):
class Client(object):
queues = {}
sets = {}
def __init__(self, db=None, port=None, **kwargs):
self.port = port
self.db = db
self._called = []
self.queues = {}
self.sets = {}
self._connection = None
self.bgsave_raises_ResponseError = False