Use brotli for reducing the size of the text snapshots (#1482)

This commit is contained in:
dgtlmoon
2023-03-19 21:12:22 +01:00
committed by GitHub
parent e6d2d87b31
commit 3b80bb2f0e
8 changed files with 114 additions and 77 deletions

View File

@@ -198,8 +198,8 @@ 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
assert res.data.count(b'{') >= 2
res = client.get(url_for("form_delete", uuid="all"), follow_redirects=True)
assert b'Deleted' in res.data