@@ -21,8 +21,12 @@ def test_stop_with_queued_jobs(datadir, start_tomato_daemon, stop_tomato_daemon)
2121 assert ret .success
2222 daemon = ret .data
2323
24- ketchup .submit (payload = "counter_1_0.1.yml" , jobname = "job-1" , ** kwargs , daemon = daemon )
25- ketchup .submit (payload = "counter_5_0.2.yml" , jobname = "job-2" , ** kwargs , daemon = daemon )
24+ ketchup .submit (
25+ payload = "counter_1_0.1.yml" , jobname = "job-1" , ** kwargs , daemon = daemon
26+ )
27+ ketchup .submit (
28+ payload = "counter_5_0.2.yml" , jobname = "job-2" , ** kwargs , daemon = daemon
29+ )
2630
2731 time .sleep (1 )
2832 tomato .stop (** kwargs )
@@ -43,7 +47,9 @@ def test_stop_with_running_jobs(datadir, start_tomato_daemon, stop_tomato_daemon
4347 assert ret .success
4448 daemon = ret .data
4549
46- ketchup .submit (payload = "counter_5_0.2.yml" , jobname = "job-1" , ** kwargs , daemon = daemon )
50+ ketchup .submit (
51+ payload = "counter_5_0.2.yml" , jobname = "job-1" , ** kwargs , daemon = daemon
52+ )
4753 tomato .pipeline_load (** kwargs , pipeline = "pip-counter" , sampleid = "counter_5_0.2" )
4854 tomato .pipeline_ready (** kwargs , pipeline = "pip-counter" )
4955 assert utils .wait_until_ketchup_status (1 , "r" , PORT , WAIT )
@@ -92,7 +98,9 @@ def test_restart_with_complete_jobs(datadir, start_tomato_daemon, stop_tomato_da
9298 assert ret .success
9399 daemon = ret .data
94100
95- ketchup .submit (payload = "counter_5_0.2.yml" , jobname = "job-1" , ** kwargs , daemon = daemon )
101+ ketchup .submit (
102+ payload = "counter_5_0.2.yml" , jobname = "job-1" , ** kwargs , daemon = daemon
103+ )
96104 tomato .pipeline_load (** kwargs , pipeline = "pip-counter" , sampleid = "counter_5_0.2" )
97105 tomato .pipeline_ready (** kwargs , pipeline = "pip-counter" )
98106 assert utils .wait_until_ketchup_status (1 , "r" , PORT , timeout = WAIT )
@@ -170,7 +178,9 @@ def test_crashed_driver_with_jobs(datadir, start_tomato_daemon, stop_tomato_daem
170178 assert ret .success
171179 daemon = ret .data
172180
173- ketchup .submit (payload = "counter_5_0.2.yml" , jobname = "job-1" , ** kwargs , daemon = daemon )
181+ ketchup .submit (
182+ payload = "counter_5_0.2.yml" , jobname = "job-1" , ** kwargs , daemon = daemon
183+ )
174184 tomato .pipeline_load (** kwargs , pipeline = "pip-counter" , sampleid = "counter_5_0.2" )
175185 tomato .pipeline_ready (** kwargs , pipeline = "pip-counter" )
176186 assert utils .wait_until_ketchup_status (1 , "r" , PORT , WAIT )
0 commit comments