Browse Source

Add missing semicolon to test

Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
pull/136/head
Daniel Haaker 14 years ago committed by Armin Ronacher
parent
commit
94a7312d5a
  1. 2
      docs/testing.rst
  2. 2
      examples/flaskr/flaskr_tests.py

2
docs/testing.rst

@ -173,7 +173,7 @@ like this::
text='<strong>HTML</strong> allowed here'
), follow_redirects=True)
assert 'No entries here so far' not in rv.data
assert '&lt;Hello&gt' in rv.data
assert '&lt;Hello&gt;' in rv.data
assert '<strong>HTML</strong> allowed here' in rv.data
Here we check that HTML is allowed in the text but not in the title,

2
examples/flaskr/flaskr_tests.py

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

Loading…
Cancel
Save