fix api and integration tests (for removed panel_labels)

This commit is contained in:
Ahmed Awan
2023-10-13 19:31:09 -05:00
parent 2ee780a9b9
commit 5eb268ae83
2 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -2646,7 +2646,7 @@ class TestToolsApi(ApiTestCase, TestsTools):
tool_ids = []
for id, tool_or_section in tools_index.items():
if "tools" in tool_or_section:
tool_ids.extend(tool_or_section["tools"])
tool_ids.extend([t for t in tool_or_section["tools"] if isinstance(t, str)])
else:
tool_ids.append(id)