Skip to content

Commit 41f07b3

Browse files
committed
Fix text based on guidelines for the renaming.
Checkmk Community Change-Id: Ib531e77302a4ecb9a6c3d1eef0b709688dcea272
1 parent 1ddd74f commit 41f07b3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cmk/gui/dashboard/token_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def _validate_expiration(
9191
raise DashboardTokenExpirationInvalid(
9292
varname="expiration_time",
9393
message=_(
94-
"In the Checkmk Community Edition, dashboard tokens can only be valid for up to one month."
94+
"In Checkmk Community, dashboard tokens can only be valid for up to one month."
9595
),
9696
)
9797

tests/unit/cmk/gui/dashboard/test_token_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def test_create_token_expiration_too_far_in_future(
134134
resp = clients.DashboardClient.create_dashboard_token(payload, expect_ok=False)
135135
assert resp.status_code == 400, f"Expected 400, got {resp.status_code} {resp.json!r}"
136136
assert resp.json["fields"]["body.expires_at"]["msg"] == (
137-
"In the Checkmk Community Edition, dashboard tokens can only be valid for up to one month."
137+
"In Checkmk Community, dashboard tokens can only be valid for up to one month."
138138
)
139139

140140

@@ -246,7 +246,7 @@ def test_edit_token_invalid_expiration(
246246
resp = clients.DashboardClient.edit_dashboard_token(edit_payload, expect_ok=False)
247247
assert resp.status_code == 400, f"Expected 400, got {resp.status_code} {resp.json!r}"
248248
assert resp.json["fields"]["body.expires_at"]["msg"] == (
249-
"In the Checkmk Community Edition, dashboard tokens can only be valid for up to one month."
249+
"In Checkmk Community, dashboard tokens can only be valid for up to one month."
250250
)
251251

252252

0 commit comments

Comments
 (0)