diff --git a/src/python_testing/TC_SEAR_1_2.py b/src/python_testing/TC_SEAR_1_2.py index 4ebb3342ee9bfc..a938ae6c31259f 100644 --- a/src/python_testing/TC_SEAR_1_2.py +++ b/src/python_testing/TC_SEAR_1_2.py @@ -89,8 +89,8 @@ async def read_and_validate_supported_areas(self, step): if len(self.mapid_list) > 0: asserts.assert_is_not(a.mapID, NullValue, f"SupportedAreas entry with AreaID({a.areaID}) should not have null MapID") - asserts.assert_is(a.mapID in self.mapid_list, - f"SupportedAreas entry with AreaID({a.areaID}) has unknown MapID({a.mapID})") + asserts.assert_true(a.mapID in self.mapid_list, + f"SupportedAreas entry with AreaID({a.areaID}) has unknown MapID({a.mapID})") k = f"mapID:{a.mapID} areaDesc:{a.areaDesc}" asserts.assert_true(k not in areadesc_s, f"SupportedAreas must have unique MapID({a.mapID}) + AreaDesc({a.areaDesc}) values!") diff --git a/src/python_testing/TC_SEAR_1_3.py b/src/python_testing/TC_SEAR_1_3.py index 0acee1b34cdeb8..3e8d60fa6a24f8 100644 --- a/src/python_testing/TC_SEAR_1_3.py +++ b/src/python_testing/TC_SEAR_1_3.py @@ -53,6 +53,8 @@ async def read_supported_areas(self, step): endpoint=self.endpoint, attribute=Clusters.ServiceArea.Attributes.SupportedAreas) logging.info("SupportedAreas: %s" % (supported_areas)) + self.supported_areas = supported_areas + return [a.areaID for a in supported_areas] async def read_selected_areas(self, step):