Fix #1298
This commit is contained in:
parent
df256f04c2
commit
bd2c8b631f
1 changed files with 1 additions and 1 deletions
|
|
@ -107,7 +107,7 @@ test method to our class, like this::
|
|||
|
||||
def test_empty_db(self):
|
||||
rv = self.app.get('/')
|
||||
assert 'No entries here so far' in rv.data
|
||||
assert b'No entries here so far' in rv.data
|
||||
|
||||
Notice that our test functions begin with the word `test`; this allows
|
||||
:mod:`unittest` to automatically identify the method as a test to run.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue