mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2026-09-27 07:46:22 +00:00
Apply suggestions from code review
Co-authored-by: dgtlmoon <leigh@morresi.net>
This commit is contained in:
@@ -66,8 +66,8 @@ def test_diff_filtering_no_add(client, live_server):
|
||||
# We should NOT see the change
|
||||
res = client.get(url_for("index"))
|
||||
# save res.data to a file
|
||||
with open("./test-index.html", "w") as f:
|
||||
f.write(res.data.decode("utf-8"))
|
||||
|
||||
|
||||
|
||||
assert b'unviewed' not in res.data
|
||||
|
||||
|
||||
Reference in New Issue
Block a user