tests: check download contents as bytes (#36515)
This commit is contained in:
parent
9b2e2c8d13
commit
d62e945441
|
@ -3842,7 +3842,7 @@ def test_formdata_form_file_download(pub):
|
|||
|
||||
download = resp.test_app.get(resp.location + 'files/form-xxx-yyy/test.txt')
|
||||
assert download.content_type == 'text/plain'
|
||||
assert download.body == 'foobar'
|
||||
assert download.body == b'foobar'
|
||||
|
||||
# go back to the status page, this will exercise the substitution variables
|
||||
# codepath.
|
||||
|
|
Loading…
Reference in New Issue