@@ -726,37 +726,10 @@ def emit(self, record: logging.LogRecord) -> None: # type: ignore[override]
726726 "must_contain" : [
727727 "Trainer control-plane version info is not available" ,
728728 "kubeflow-trainer-public" ,
729- "kubeflow_trainer_version" ,
730729 "ConfigMap not found" ,
731730 ],
732731 },
733- ),
734- TestCase (
735- name = "missing data key logs warning" ,
736- expected_status = SUCCESS ,
737- config = {
738- "core_api" : _build_core_api_mock ({}),
739- "expect_warning" : True ,
740- "must_contain" : [
741- "Trainer control-plane version info is not available" ,
742- "kubeflow-trainer-public" ,
743- "kubeflow_trainer_version" ,
744- ],
745- },
746- ),
747- TestCase (
748- name = "data None logs warning" ,
749- expected_status = SUCCESS ,
750- config = {
751- "core_api" : _build_core_api_mock (None ),
752- "expect_warning" : True ,
753- "must_contain" : [
754- "Trainer control-plane version info is not available" ,
755- "kubeflow-trainer-public" ,
756- "kubeflow_trainer_version" ,
757- ],
758- },
759- ),
732+ )
760733 ],
761734)
762735def test_verify_backend (test_case ):
0 commit comments