mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2026-08-25 15:46:54 +00:00
test tweaks
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
#####################
|
||||
|
||||
|
||||
Reference in New Issue
Block a user