Browse Source

Fix #1298

pull/1299/head
Markus Unterwaditzer 10 years ago
parent
commit
bd2c8b631f
  1. 2
      docs/testing.rst

2
docs/testing.rst

@ -107,7 +107,7 @@ test method to our class, like this::
def test_empty_db(self): def test_empty_db(self):
rv = self.app.get('/') 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 Notice that our test functions begin with the word `test`; this allows
:mod:`unittest` to automatically identify the method as a test to run. :mod:`unittest` to automatically identify the method as a test to run.

Loading…
Cancel
Save