@@ -58,7 +58,7 @@ def test_execute_batch(con100, requests_mock, tmpdir):
58
58
[
59
59
{"json" : {"status" : "submitted" }},
60
60
{"json" : {"status" : "queued" }},
61
- {"json" : {"status" : "running" , "progress" : 15 }},
61
+ {"json" : {"status" : "running" , "progress" : 15.51 }},
62
62
{"json" : {"status" : "running" , "progress" : 80 }},
63
63
{"json" : {"status" : "finished" , "progress" : 100 }},
64
64
],
@@ -90,7 +90,7 @@ def test_execute_batch(con100, requests_mock, tmpdir):
90
90
assert re .match (r"0:00:01 Job 'f00ba5': send 'start'" , log [0 ])
91
91
assert re .match (r"0:00:02 Job 'f00ba5': submitted \(progress N/A\)" , log [1 ])
92
92
assert re .match (r"0:00:04 Job 'f00ba5': queued \(progress N/A\)" , log [2 ])
93
- assert re .match (r"0:00:07 Job 'f00ba5': running \(progress 15%\)" , log [3 ])
93
+ assert re .match (r"0:00:07 Job 'f00ba5': running \(progress 15.5 %\)" , log [3 ])
94
94
assert re .match (r"0:00:12 Job 'f00ba5': running \(progress 80%\)" , log [4 ])
95
95
assert re .match (r"0:00:20 Job 'f00ba5': finished \(progress 100%\)" , log [5 ])
96
96
0 commit comments