Skip to content

Commit

Permalink
Ensure GUI code is loaded in helper
Browse files Browse the repository at this point in the history
Change-Id: I04dbb7e5a3c18b11ef05d3ef56b02d1f95959d95
  • Loading branch information
LarsMichelsen committed Oct 13, 2024
1 parent b2a94fa commit 3bf4bf9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/extension_compatibility/_helper_failed_gui_plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@

import json

from cmk.gui import main_modules
from cmk.gui.utils import get_failed_plugins
from cmk.gui.utils.script_helpers import gui_context

main_modules.load_plugins()
with gui_context():
print(
json.dumps(
Expand Down

0 comments on commit 3bf4bf9

Please sign in to comment.