File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
tests/unit/cmk/gui/dashboard Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments