forked from orbit-oss/flask
Fix test under Python 3
This commit is contained in:
parent
85b20f8d49
commit
1158e22958
1 changed files with 1 additions and 1 deletions
|
|
@ -589,7 +589,7 @@ def test_request_preprocessing_early_return():
|
||||||
return "damnit"
|
return "damnit"
|
||||||
|
|
||||||
rv = app.test_client().get('/').data.strip()
|
rv = app.test_client().get('/').data.strip()
|
||||||
assert rv == 'hello'
|
assert rv == b'hello'
|
||||||
assert not evts
|
assert not evts
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue