diff options
author | Vincent Driessen <vincent@3rdcloud.com> | 2012-02-15 21:55:06 +0100 |
---|---|---|
committer | Vincent Driessen <vincent@3rdcloud.com> | 2012-02-15 21:55:06 +0100 |
commit | f07d28db8623aaae712ae76afe71ea2bcc1b58b6 (patch) | |
tree | 28392e90e29c79125c15316f0411e3f06a0b7dc1 /tests/__init__.py | |
parent | 5717a0ba15698bfaaccd894421ff2353c83bccc4 (diff) | |
download | rq-f07d28db8623aaae712ae76afe71ea2bcc1b58b6.tar.gz |
Organize test fixtures into a separate file.
Diffstat (limited to 'tests/__init__.py')
-rw-r--r-- | tests/__init__.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/__init__.py b/tests/__init__.py index b833a91..76895a4 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -3,17 +3,6 @@ from redis import Redis from logbook import NullHandler from rq import conn -# Test data -def testjob(name=None): - if name is None: - name = 'Stranger' - return 'Hi there, %s!' % (name,) - -def failing_job(x): - # Will throw a division-by-zero error - return x / 0 - - 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. |