mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Remove no longer testable plugin external pages in db tests
This commit is contained in:
parent
7ec4fcde18
commit
22ab625b6e
1 changed files with 0 additions and 16 deletions
|
|
@ -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]):
|
||||
|
|
|
|||
Loading…
Reference in a new issue