mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
tests: make redis test fix py27 compatible also
This commit is contained in:
parent
8d9951bc7b
commit
f32eb608f1
@ -65,7 +65,7 @@ class FakeRedisTests(object):
|
||||
def setup_class(cls, redis_url='redis://localhost:6379/2'):
|
||||
super(FakeRedisTests, cls).setup_class()
|
||||
|
||||
PUBSUBS.clear()
|
||||
del PUBSUBS[:]
|
||||
DATABASES.clear()
|
||||
|
||||
cls.redismock = patch('redis.StrictRedis', FakeStrictRedisSharedPubSub)
|
||||
|
Loading…
x
Reference in New Issue
Block a user