mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2026-09-26 23:35:51 +00:00
Check preview page is working
This commit is contained in:
@@ -100,6 +100,12 @@ def test_check_basic_change_detection_functionality(client, live_server):
|
||||
# It should have picked up the <title>
|
||||
assert b'head title' in res.data
|
||||
|
||||
|
||||
# be sure the HTML converter worked
|
||||
res = client.get(url_for("preview_page", uuid="first"))
|
||||
assert b'<html>' not in res.data
|
||||
|
||||
|
||||
#
|
||||
# Cleanup everything
|
||||
res = client.get(url_for("api_delete", uuid="all"), follow_redirects=True)
|
||||
|
||||
Reference in New Issue
Block a user