From 3c05f20d95ae8aa11146b5693c3b6446e22e4d27 Mon Sep 17 00:00:00 2001 From: Vincent Driessen Date: Fri, 24 Feb 2012 11:36:33 +0100 Subject: [PATCH] Flake8. --- tests/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/__init__.py b/tests/__init__.py index 2d54f29d..1c24bba2 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -3,6 +3,7 @@ from redis import Redis from logbook import NullHandler from rq import conn + def find_empty_redis_database(): """Tries to connect to a random Redis database (starting from 4), and will use/connect it when no keys are in there. @@ -64,5 +65,5 @@ class RQTestCase(unittest.TestCase): # Pop the connection to Redis testconn = conn.pop() - assert testconn == cls.testconn, 'Wow, something really nasty happened to the Redis connection stack. Check your setup.' - + assert testconn == cls.testconn, 'Wow, something really nasty ' \ + 'happened to the Redis connection stack. Check your setup.'