forked from pool/python-celery
* Fix to build with newest kombu * Many bugfixes around - Add patch to skip test that should not be run: * celery-no-redis.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-celery?expand=0&rev=105
27 lines
969 B
Diff
27 lines
969 B
Diff
From b2668607c909c61becd151905b4525190c19ff4a Mon Sep 17 00:00:00 2001
|
|
From: Jon Dufresne <jon.dufresne@gmail.com>
|
|
Date: Sat, 23 Jun 2018 16:08:47 -0700
|
|
Subject: [PATCH] Require the redis module for test
|
|
test_timeouts_in_url_coerced (#4847)
|
|
|
|
The test requires the redis module to be installed. It is referenced in
|
|
the function RedisBackend._params_from_url().
|
|
|
|
Fixes AppVeyor build failures.
|
|
---
|
|
t/unit/backends/test_redis.py | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/t/unit/backends/test_redis.py b/t/unit/backends/test_redis.py
|
|
index ee2ecf7959..166aa0dc34 100644
|
|
--- a/t/unit/backends/test_redis.py
|
|
+++ b/t/unit/backends/test_redis.py
|
|
@@ -234,6 +234,7 @@ def test_url(self):
|
|
assert x.connparams['socket_timeout'] == 30.0
|
|
assert x.connparams['socket_connect_timeout'] == 100.0
|
|
|
|
+ @skip.unless_module('redis')
|
|
def test_timeouts_in_url_coerced(self):
|
|
x = self.Backend(
|
|
('redis://:bosco@vandelay.com:123//1?'
|