Commit f681bf7
committed
[OPIK-4972] [SDK] Fix test_success to handle category_name absent or None
opik 1.10.56 added category_name to ScoreResult but the Docker image in CI
may use an older opik version without it. Assert category_name is None when
present and compare remaining fields, so both executor variants pass.1 parent 0bf6149 commit f681bf7
1 file changed
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
231 | | - | |
232 | 231 | | |
233 | 232 | | |
234 | 233 | | |
| |||
242 | 241 | | |
243 | 242 | | |
244 | 243 | | |
245 | | - | |
246 | 244 | | |
247 | 245 | | |
248 | 246 | | |
| |||
256 | 254 | | |
257 | 255 | | |
258 | 256 | | |
259 | | - | |
260 | 257 | | |
261 | 258 | | |
262 | 259 | | |
263 | 260 | | |
264 | 261 | | |
265 | 262 | | |
266 | 263 | | |
267 | | - | |
268 | 264 | | |
269 | 265 | | |
270 | 266 | | |
| |||
281 | 277 | | |
282 | 278 | | |
283 | 279 | | |
284 | | - | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
285 | 283 | | |
286 | 284 | | |
287 | 285 | | |
| |||
0 commit comments