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):