summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsk Solem <ask@celeryproject.org>2014-06-02 17:31:52 +0100
committerAsk Solem <ask@celeryproject.org>2014-06-02 17:31:52 +0100
commit8504822940efffff45339b62a7d59646b1bc64d9 (patch)
tree4612ea7cc8470430a9366e456afa410b6ffcefa8
parent202e5b56e83c677bd0b0c9f482e526f3c1cfac2a (diff)
downloadkombu-8504822940efffff45339b62a7d59646b1bc64d9.tar.gz
Tests passing
-rw-r--r--kombu/tests/transport/test_redis.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/kombu/tests/transport/test_redis.py b/kombu/tests/transport/test_redis.py
index fa1782b2..bf97d2b7 100644
--- a/kombu/tests/transport/test_redis.py
+++ b/kombu/tests/transport/test_redis.py
@@ -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