Browse Source

Removed useless code

pull/1638/head
Armin Ronacher 15 years ago
parent
commit
bf52a17902
  1. 1
      docs/testing.rst
  2. 1
      examples/flaskr/flaskr_tests.py

1
docs/testing.rst

@ -162,7 +162,6 @@ like this::
text='<strong>HTML</strong> allowed here'
), follow_redirects=True)
assert 'No entries here so far' not in rv.data
self.login(flaskr.USERNAME, flaskr.PASSWORD)
assert '&lt;Hello&gt' in rv.data
assert '<strong>HTML</strong> allowed here' in rv.data

1
examples/flaskr/flaskr_tests.py

@ -57,7 +57,6 @@ class FlaskrTestCase(unittest.TestCase):
text='<strong>HTML</strong> allowed here'
), follow_redirects=True)
assert 'No entries here so far' not in rv.data
self.login(flaskr.USERNAME, flaskr.PASSWORD)
assert '&lt;Hello&gt' in rv.data
assert '<strong>HTML</strong> allowed here' in rv.data

Loading…
Cancel
Save