Skip to content

Commit

Permalink
Require the redis module for test test_timeouts_in_url_coerced (#4847)
Browse files Browse the repository at this point in the history
The test requires the redis module to be installed. It is referenced in
the function RedisBackend._params_from_url().

Fixes AppVeyor build failures.
  • Loading branch information
jdufresne authored and auvipy committed Jun 23, 2018
1 parent d20b8a5 commit b266860
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions t/unit/backends/test_redis.py
Original file line number Diff line number Diff line change
Expand Up @@ -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?'
Expand Down

0 comments on commit b266860

Please sign in to comment.