From 3b7cc724400c2aeb57db361447e8f4ddd8ce2605 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Mon, 25 May 2026 16:34:58 +0200 Subject: [PATCH] test tweaks --- changedetectionio/tests/test_access_control.py | 6 +++--- changedetectionio/tests/test_backend.py | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/changedetectionio/tests/test_access_control.py b/changedetectionio/tests/test_access_control.py index aad85346..0f0b4b7e 100644 --- a/changedetectionio/tests/test_access_control.py +++ b/changedetectionio/tests/test_access_control.py @@ -148,9 +148,9 @@ def test_check_access_control(app, client, live_server, measure_memory_usage, da res = c.get(url_for("settings.settings_page")) - # Menu should be available now - assert b"SETTINGS" in res.data - assert b"IMPORT" in res.data + # Menu should be available now (Settings/Import moved to sidebar-nav.html as translated mixed-case strings) + assert b"Settings" in res.data + assert b"Import" in res.data assert b"LOG OUT" in res.data assert b"time_between_check-minutes" in res.data assert b"fetch_backend" in res.data diff --git a/changedetectionio/tests/test_backend.py b/changedetectionio/tests/test_backend.py index d0713133..65027f36 100644 --- a/changedetectionio/tests/test_backend.py +++ b/changedetectionio/tests/test_backend.py @@ -35,8 +35,8 @@ def test_check_basic_change_detection_functionality(client, live_server, measure # Default no password set, this stuff should be always available. - assert b"SETTINGS" in res.data - assert b"IMPORT" in res.data + assert b"Settings" in res.data + assert b"Import" in res.data #####################