@@ -637,9 +637,10 @@ async def test_get_validation_results_with_default_location_async(
637637 "expected type: String, found: Null"
638638 in results_df .loc [2 , "validation_error_message" ]
639639 ), f"Row 2 should have null type error, got: { results_df .loc [2 , 'validation_error_message' ]} "
640- assert "#/name: expected type: String, found: Null" in str (
641- results_df .loc [2 , "all_validation_messages" ]
642- ), f"Row 2 all_validation_messages incorrect: { results_df .loc [2 , 'all_validation_messages' ]} "
640+ ##TODO: uncomment the test after PLFM-9532 is resolved
641+ # assert "#/name: expected type: String, found: Null" in str(
642+ # results_df.loc[2, "all_validation_messages"]
643+ # ), f"Row 2 all_validation_messages incorrect: {results_df.loc[2, 'all_validation_messages']}"
643644
644645 # AND row 3 should be invalid (multiple violations: minLength, maximum, enum)
645646 assert (
@@ -648,18 +649,18 @@ async def test_get_validation_results_with_default_location_async(
648649 assert (
649650 "3 schema violations found" in results_df .loc [3 , "validation_error_message" ]
650651 ), f"Row 3 should have 3 violations, got: { results_df .loc [3 , 'validation_error_message' ]} "
651- all_msgs_3 = str (results_df .loc [3 , "all_validation_messages" ])
652- assert (
653- "#/name: expected minLength: 3, actual: 2" in all_msgs_3
654- ), f"Row 3 should have minLength violation: { all_msgs_3 } "
655- assert (
656- "#/value: 1500 is not less or equal to 1000" in all_msgs_3
657- or "1500" in all_msgs_3
658- ), f"Row 3 should have maximum violation: { all_msgs_3 } "
659- assert (
660- "#/category: X is not a valid enum value" in all_msgs_3
661- or "enum" in all_msgs_3 .lower ()
662- ), f"Row 3 should have enum violation: { all_msgs_3 } "
652+ # all_msgs_3 = str(results_df.loc[3, "all_validation_messages"])
653+ # assert (
654+ # "#/name: expected minLength: 3, actual: 2" in all_msgs_3
655+ # ), f"Row 3 should have minLength violation: {all_msgs_3}"
656+ # assert (
657+ # "#/value: 1500 is not less or equal to 1000" in all_msgs_3
658+ # or "1500" in all_msgs_3
659+ # ), f"Row 3 should have maximum violation: {all_msgs_3}"
660+ # assert (
661+ # "#/category: X is not a valid enum value" in all_msgs_3
662+ # or "enum" in all_msgs_3.lower()
663+ # ), f"Row 3 should have enum violation: {all_msgs_3}"
663664
664665 # AND row 4 should be invalid (value below minimum)
665666 assert (
@@ -669,9 +670,9 @@ async def test_get_validation_results_with_default_location_async(
669670 "-50.0 is not greater or equal to 0"
670671 in results_df .loc [4 , "validation_error_message" ]
671672 ), f"Row 4 should have minimum violation, got: { results_df .loc [4 , 'validation_error_message' ]} "
672- assert "#/value: -50.0 is not greater or equal to 0" in str (
673- results_df .loc [4 , "all_validation_messages" ]
674- ), f"Row 4 all_validation_messages incorrect: { results_df .loc [4 , 'all_validation_messages' ]} "
673+ # assert "#/value: -50.0 is not greater or equal to 0" in str(
674+ # results_df.loc[4, "all_validation_messages"]
675+ # ), f"Row 4 all_validation_messages incorrect: {results_df.loc[4, 'all_validation_messages']}"
675676
676677 async def test_get_validation_results_with_custom_location_async (
677678 self , record_set_with_validation_fixture : RecordSet
@@ -719,9 +720,9 @@ async def test_get_validation_results_with_custom_location_async(
719720 assert pd .notna (
720721 row ["validation_error_message" ]
721722 ), f"Row { idx } is marked invalid but has no validation_error_message"
722- assert pd .notna (
723- row ["all_validation_messages" ]
724- ), f"Row { idx } is marked invalid but has no all_validation_messages"
723+ # assert pd.notna(
724+ # row["all_validation_messages"]
725+ # ), f"Row {idx} is marked invalid but has no all_validation_messages"
725726
726727 async def test_get_validation_results_no_file_handle_emits_warning_async (
727728 self , syn_with_logger : Synapse , caplog : pytest .LogCaptureFixture
0 commit comments