diff --git a/test/test_job_routes.py b/test/test_job_routes.py
index 6e9127d172396bac7d2ac05267619148cc8cd75a..33bbde510defb4d7ca6642aa77a1292e2531c711 100644
--- a/test/test_job_routes.py
+++ b/test/test_job_routes.py
@@ -55,6 +55,7 @@ TASK_LOG_SCHEMA = {
     "additionalProperties": False
 }
 
+
 def backend_db():
     return _get_redis({
         'redis': {
@@ -277,48 +278,96 @@ def test_job_log(client):
             'type': 'task-infox', 'uuid': 'AAAB'},
 
         'joblog:CCCC:task-received': {
-            'type': 'task-received', 'uuid': 'CCCC', 'name': 'xyz', 'args': ['z', 1]},
+            'type': 'task-received',
+            'uuid': 'CCCC',
+            'name': 'xyz',
+            'args': ['z', 1]
+        },
         'joblog:CCCC:task-started': {
             'type': 'task-started', 'uuid': 'CCCC'},
         'joblog:CCCC:task-succeeded': {
             'type': 'task-succeeded', 'uuid': 'CCCC'},
 
         'joblog:TTTT:task-received': {
-            'type': 'task-received', 'uuid': 'TTTT', 'name': 'xyz', 'args': ['q', 123]},
+            'type': 'task-received',
+            'uuid': 'TTTT',
+            'name': 'xyz',
+            'args': ['q', 123]
+        },
         'joblog:TTTT:task-started': {
             'type': 'task-started', 'uuid': 'TTTT'},
         'joblog:TTTT:task-failed': {
             'type': 'task-failed', 'uuid': 'TTTT'},
 
         'joblog:SSSS1:task-received': {
-            'type': 'task-received', 'uuid': 'SSSS', 'name': 'xyz', 'args': ['q', 123]},
+            'type': 'task-received',
+            'uuid': 'SSSS',
+            'name': 'xyz',
+            'args': ['q', 123]
+        },
         'joblog:SSSS1:task-started': {
             'type': 'task-started', 'uuid': 'SSSS'},
         'joblog:SSSS2:task-received': {
-            'type': 'task-received', 'uuid': 'SSSS2', 'name': 'xyz', 'args': ['q', 123]},
+            'type': 'task-received',
+            'uuid': 'SSSS2',
+            'name': 'xyz',
+            'args': ['q', 123]
+        },
         'joblog:SSSS2:task-started': {
             'type': 'task-started', 'uuid': 'SSSS2'},
         'joblog:SSSS3:task-received': {
-            'type': 'task-received', 'uuid': 'SSSS3', 'name': 'xyz', 'args': ['q', 123]},
+            'type': 'task-received',
+            'uuid': 'SSSS3',
+            'name': 'xyz',
+            'args': ['q', 123]
+        },
         'joblog:SSSS3:task-started': {
             'type': 'task-started', 'uuid': 'SSSS3'},
 
         'joblog:BBBB:task-info:99': {
-            'type': 'task-info', 'uuid': 'BBBB', 'clock': 99, 'message': 'x'},
+            'type': 'task-info',
+            'uuid': 'BBBB',
+            'clock': 99,
+            'message': 'x'
+        },
         'joblog:BBBB:task-info:999': {
-            'type': 'task-info', 'uuid': 'BBBB', 'clock': 999, 'message': 'x'},
+            'type': 'task-info',
+            'uuid': 'BBBB',
+            'clock': 999,
+            'message': 'x'
+        },
 
         'joblog:AAAA:task-warning:88': {
-            'type': 'task-warning', 'uuid': 'AAAA', 'clock': 88, 'message': 'x'},
+            'type': 'task-warning',
+            'uuid': 'AAAA',
+            'clock': 88,
+            'message': 'x'
+        },
         'joblog:AAAA:task-warning:888': {
-            'type': 'task-warning', 'uuid': 'AAAA', 'clock': 888, 'message': 'x'},
+            'type': 'task-warning',
+            'uuid': 'AAAA',
+            'clock': 888,
+            'message': 'x'
+        },
 
         'joblog:AAAA:task-error:77': {
-            'type': 'task-error', 'uuid': 'AAAA', 'clock': 77, 'message': 'x'},
+            'type': 'task-error',
+            'uuid': 'AAAA',
+            'clock': 77,
+            'message': 'x'
+        },
         'joblog:AAAA:task-error:777': {
-            'type': 'task-error', 'uuid': 'AAAA', 'clock': 777, 'message': 'x'},
+            'type': 'task-error',
+            'uuid': 'AAAA',
+            'clock': 777,
+            'message': 'x'
+        },
         'joblog:AAAA:task-error:7777': {
-            'type': 'task-error', 'uuid': 'AAAA', 'clock': 7777, 'message': 'x'}
+            'type': 'task-error',
+            'uuid': 'AAAA',
+            'clock': 7777,
+            'message': 'x'
+        }
 
     }