@@ -245,7 +245,13 @@ def test_import_media_types_by_global_key(
245245 ),
246246 (MediaType .LLMPromptCreation , MediaType .LLMPromptCreation ),
247247 (OntologyKind .ResponseCreation , OntologyKind .ResponseCreation ),
248- (OntologyKind .ModelEvaluation , OntologyKind .ModelEvaluation ),
248+ pytest .param (
249+ OntologyKind .ModelEvaluation ,
250+ OntologyKind .ModelEvaluation ,
251+ marks = pytest .mark .xfail (
252+ reason = "Backend bug: lb-import-annot-pred-no-mta raises TypeError on ModelEvaluation MAL annotations (encoding without a string argument)"
253+ ),
254+ ),
249255 ],
250256 indirect = ["configured_project" ],
251257)
@@ -279,7 +285,13 @@ def test_import_mal_annotations(
279285 (MediaType .Conversational , MediaType .Conversational ),
280286 (MediaType .Document , MediaType .Document ),
281287 (OntologyKind .ResponseCreation , OntologyKind .ResponseCreation ),
282- (OntologyKind .ModelEvaluation , OntologyKind .ModelEvaluation ),
288+ pytest .param (
289+ OntologyKind .ModelEvaluation ,
290+ OntologyKind .ModelEvaluation ,
291+ marks = pytest .mark .xfail (
292+ reason = "Backend bug: lb-import-annot-pred-no-mta raises TypeError on ModelEvaluation MAL annotations (encoding without a string argument)"
293+ ),
294+ ),
283295 ],
284296 indirect = ["configured_project_by_global_key" ],
285297)
0 commit comments