Response data is bytes
This commit is contained in:
parent
97815b999e
commit
5b89355b1c
6 changed files with 41 additions and 41 deletions
|
|
@ -34,7 +34,7 @@ class FlaskSubclassingTestCase(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_equal(err, '')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue