summaryrefslogtreecommitdiff
path: root/tests/test_worker.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_worker.py')
-rw-r--r--tests/test_worker.py16
1 files changed, 11 insertions, 5 deletions
diff --git a/tests/test_worker.py b/tests/test_worker.py
index b7147fe..1255442 100644
--- a/tests/test_worker.py
+++ b/tests/test_worker.py
@@ -1,12 +1,18 @@
+# -*- coding: utf-8 -*-
+from __future__ import (absolute_import, division, print_function,
+ unicode_literals)
+
import os
-from tests import RQTestCase, slow
-from tests.fixtures import say_hello, div_by_zero, create_file, \
- create_file_after_timeout
-from tests.helpers import strip_microseconds
-from rq import Queue, Worker, get_failed_queue
+
+from rq import get_failed_queue, Queue, Worker
from rq.compat import as_text
from rq.job import Job, Status
+from tests import RQTestCase, slow
+from tests.fixtures import (create_file, create_file_after_timeout, div_by_zero,
+ say_hello)
+from tests.helpers import strip_microseconds
+
class TestWorker(RQTestCase):
def test_create_worker(self):