Skip to content

Commit

Permalink
Activate automation helper per default
Browse files Browse the repository at this point in the history
Change-Id: I69b5546fdb5f5da96e477361b15c41122f358f93
  • Loading branch information
jherbel committed Jan 16, 2025
1 parent 10ed872 commit 1fb2ff4
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cmk/gui/plugins/config/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -653,4 +653,4 @@ class CREConfig:
load_frontend_vue: Literal["static_files", "inject"] = "static_files"
# Vue experimental feature settings
vue_experimental_features: dict[str, Any] = field(default_factory=dict)
automation_helper_active: bool = False
automation_helper_active: bool = True
2 changes: 1 addition & 1 deletion cmk/gui/wato/_check_mk_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,7 @@ def ident(self) -> str:
def valuespec(self) -> ValueSpec:
return Checkbox(
title=_("Activate automation helper"),
default_value=False,
default_value=True,
)


Expand Down
2 changes: 0 additions & 2 deletions tests/composition/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ def _central_site(request: pytest.FixtureRequest, ensure_cron: None) -> Iterator
description=request.node.name,
auto_restart_httpd=True,
tracing_config=tracing_config_from_env(os.environ),
global_settings_update={"automation_helper_active": True},
) as central_site:
with _increased_logging_level(central_site):
yield central_site
Expand Down Expand Up @@ -108,7 +107,6 @@ def _make_connected_remote_site(
description=site_description,
auto_restart_httpd=True,
tracing_config=tracing_config_from_env(os.environ),
global_settings_update={"automation_helper_active": True},
) as remote_site:
with _connection(central_site=central_site, remote_site=remote_site):
yield remote_site
Expand Down
4 changes: 1 addition & 3 deletions tests/gui_e2e/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ def fixture_test_site(request: pytest.FixtureRequest) -> Iterator[Site]:
with exit_pytest_on_exceptions(
exit_msg=f"Failure in site creation using fixture '{__file__}::{request.fixturename}'!"
):
yield from get_site_factory(prefix="gui_e2e_").get_test_site(
global_settings_update={"automation_helper_active": True},
)
yield from get_site_factory(prefix="gui_e2e_").get_test_site()


@pytest.fixture(name="credentials", scope="session")
Expand Down
1 change: 0 additions & 1 deletion tests/integration/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ def get_site(request: pytest.FixtureRequest) -> Iterator[Site]:
yield from get_site_factory(prefix="int_").get_test_site(
name="test",
auto_restart_httpd=True,
global_settings_update={"automation_helper_active": True},
)


Expand Down

0 comments on commit 1fb2ff4

Please sign in to comment.