Testing - Fixing JSON test

This commit is contained in:
dgtlmoon
2024-05-20 14:14:40 +02:00
parent 05bf3c9a5c
commit a8959be348
@@ -479,8 +479,9 @@ def test_correct_header_detect(client, live_server):
url_for("preview_page", uuid="first"),
follow_redirects=True
)
assert b'"world":' in res.data
assert res.data.count(b'{') >= 2
assert b'"hello": 123,' in res.data
assert b'&#34;world&#34;: 123</div>' in res.data
res = client.get(url_for("form_delete", uuid="all"), follow_redirects=True)
assert b'Deleted' in res.data