File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
scheduler/tests/test_worker Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -62,12 +62,12 @@ def test_stop_job_command__success(self):
62
62
command = StopJobCommand (worker_name = worker_name , job_name = job .name )
63
63
command_payload = json .dumps (command .command_payload ())
64
64
worker ._command_listener .handle_payload (dict (data = command_payload ))
65
- worker .monitor_job_execution_process (job ,queue )
65
+ worker .monitor_job_execution_process (job , queue )
66
66
67
67
# Assert
68
68
job = JobModel .get (job .name , connection = queue .connection )
69
69
worker = WorkerModel .get (worker .name , connection = queue .connection )
70
70
self .assertEqual (worker .stopped_job_name , job .name )
71
71
self .assertIsNone (worker .current_job_name )
72
72
self .assertEqual (job .status , JobStatus .STOPPED )
73
- t .join ()
73
+ t .join ()
You can’t perform that action at this time.
0 commit comments