forked from orbit-oss/flask
Response data is bytes
This commit is contained in:
parent
97815b999e
commit
5b89355b1c
6 changed files with 41 additions and 41 deletions
|
|
@ -357,7 +357,7 @@ class LoggingTestCase(FlaskTestCase):
|
|||
|
||||
rv = app.test_client().get('/')
|
||||
self.assert_equal(rv.status_code, 500)
|
||||
self.assert_('Internal Server Error' in rv.data)
|
||||
self.assert_(b'Internal Server Error' in rv.data)
|
||||
|
||||
err = out.getvalue()
|
||||
self.assert_('Exception on / [GET]' in err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue