Remove no longer testable plugin external pages in db tests

This commit is contained in:
Théophile Diot 2024-01-26 15:26:54 +01:00
parent 7ec4fcde18
commit 22ab625b6e
No known key found for this signature in database
GPG key ID: 248FEA4BAE400D06

View file

@ -478,22 +478,6 @@ try:
)
exit(1)
template_checksum = file_hash(f"{path_ui}/template.html")
actions_checksum = file_hash(f"{path_ui}/actions.py")
if plugin_page.template_checksum != template_checksum:
print(
f"❌ The plugin page from {plugin_page.plugin_id} is in the database but the template file checksum differ, exiting ...\n{plugin_page.template_checksum} (database) != {template_checksum} (file)",
flush=True,
)
exit(1)
elif plugin_page.actions_checksum != actions_checksum:
print(
f"❌ The plugin page from {plugin_page.plugin_id} is in the database but the actions file checksum differ, exiting ...\n{plugin_page.actions_checksum} (database) != {actions_checksum} (file)",
flush=True,
)
exit(1)
current_plugin[plugin_page.plugin_id]["page_checked"] = True
if not all([core_plugins[plugin]["page_checked"] for plugin in core_plugins]):