This commit is contained in:
dgtlmoon
2023-03-19 20:48:34 +01:00
parent 6d7d3eebc2
commit 32463369e5
@@ -198,8 +198,10 @@ def test_check_json_without_filter(client, live_server):
)
# Should still see '"html": "<b>"'
assert b'&#34;&lt;b&gt;' in res.data
assert res.data.count(b'{\n') >= 2
assert b'&#34;html&#34;: &#34;&lt;b&gt;&#34;' in res.data
with open('/tmp/foo.html', 'wb') as f:
f.write(res.data)
# assert res.data.count(b'{') >= 2
res = client.get(url_for("form_delete", uuid="all"), follow_redirects=True)
assert b'Deleted' in res.data