From 8504822940efffff45339b62a7d59646b1bc64d9 Mon Sep 17 00:00:00 2001 From: Ask Solem Date: Mon, 2 Jun 2014 17:31:52 +0100 Subject: [PATCH] Tests passing --- kombu/tests/transport/test_redis.py | 3 +++ 1 file changed, 3 insertions(+) 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