From 3b67894489ad1e46792632e026cd8c1b802abde7 Mon Sep 17 00:00:00 2001 From: Vincent Driessen Date: Wed, 3 Jun 2015 10:49:28 +0200 Subject: [PATCH] Rename variable in test --- tests/test_job.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_job.py b/tests/test_job.py index a078ce6..6971d7b 100644 --- a/tests/test_job.py +++ b/tests/test_job.py @@ -35,14 +35,14 @@ class TestJob(RQTestCase): if not PY2: # Python 3 - test_string = "myfunc(12, '☃', null=None, snowman='☃')" + expected_string = "myfunc(12, '☃', null=None, snowman='☃')" else: # Python 2 - test_string = u"myfunc(12, u'\\u2603', null=None, snowman=u'\\u2603')".decode('utf-8') + expected_string = u"myfunc(12, u'\\u2603', null=None, snowman=u'\\u2603')".decode('utf-8') self.assertEquals( job.description, - test_string, + expected_string, ) def test_create_empty_job(self):