Testing - Fixing JSON test

easy-override-ua
dgtlmoon 7 months ago
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

Loading…
Cancel
Save