Tests passing

This commit is contained in:
Ask Solem 2014-06-02 17:31:52 +01:00
parent 202e5b56e8
commit 8504822940
1 changed files with 3 additions and 0 deletions

View File

@ -220,6 +220,7 @@ class Transport(redis.Transport):
class test_Channel(Case):
@skip_if_not_module('redis')
def setUp(self):
self.connection = self.create_connection()
self.channel = self.connection.default_channel
@ -788,6 +789,7 @@ class test_Channel(Case):
class test_Redis(Case):
@skip_if_not_module('redis')
def setUp(self):
self.connection = Connection(transport=Transport)
self.exchange = Exchange('test_Redis', type='direct')
@ -944,6 +946,7 @@ def _redis_modules():
class test_MultiChannelPoller(Case):
@skip_if_not_module('redis')
def setUp(self):
self.Poller = redis.MultiChannelPoller