def METHOD_NAME(self):
    file_path = os.path.join(self.local_scratch.path, "TabConfig.xml")
    write_tab_config(os.path.dirname(file_path), self.local_scratch.path)
    root = self.validate_file_exists_and_pyaedt_tabs_added(file_path)
    panels = root.findall("./panel")
    panel_names = [panel.attrib["label"] for panel in panels]
    assert len(panel_names) == 1