File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 4848 "notification" : {"ended" : {"webhook" : ["bla" ]}},
4949 "container" : {"progress" : {"partialZim" : True }},
5050 "rank" : 123 ,
51+ "offliner" : "zimit" ,
52+ "version" : "initial" ,
5153 },
5254 TaskInfo (
5355 id = "6341c25f-aac9-41aa-b9bb-3ddee058a0bf" ,
7274 "config" : {"warehouse_path" : "/other" , "offliner" : {}},
7375 "status" : "blu" ,
7476 "rank" : 456 ,
77+ "offliner" : "zimit" ,
78+ "version" : "initial" ,
7579 },
7680 TaskInfo (
7781 id = "6341c25f-aac9-41aa-b9bb-3ddee058a0bf" ,
9397 "container" : {"progress" : {"partialZim" : False }},
9498 "status" : "bla" ,
9599 "rank" : 456 ,
100+ "offliner" : "zimit" ,
101+ "version" : "initial" ,
96102 },
97103 TaskInfo (
98104 id = "6341c25f-aac9-41aa-b9bb-3ddee058a0bf" ,
114120 "container" : {"progress" : {"overall" : 100 }},
115121 "status" : "bla" ,
116122 "rank" : 456 ,
123+ "offliner" : "zimit" ,
124+ "version" : "initial" ,
117125 },
118126 TaskInfo (
119127 id = "6341c25f-aac9-41aa-b9bb-3ddee058a0bf" ,
@@ -157,6 +165,8 @@ def test_convert_zimfarm_task_to_info(task: Any, expected: TaskInfo):
157165 "notification" : {"ended" : {"webhook" : ["bla" ]}},
158166 "container" : {"progress" : {"partialZim" : True }},
159167 "rank" : 123 ,
168+ "offliner" : "zimit" ,
169+ "version" : "initial" ,
160170 }
161171)
162172
You can’t perform that action at this time.
0 commit comments