diff --git a/docs/testing.rst b/docs/testing.rst index 790eddf6..b9f0806b 100644 --- a/docs/testing.rst +++ b/docs/testing.rst @@ -173,7 +173,7 @@ like this:: text='HTML allowed here' ), follow_redirects=True) assert 'No entries here so far' not in rv.data - assert '<Hello>' in rv.data + assert '<Hello>' in rv.data assert 'HTML allowed here' in rv.data Here we check that HTML is allowed in the text but not in the title, diff --git a/examples/flaskr/flaskr_tests.py b/examples/flaskr/flaskr_tests.py index 07e702c4..06bf1035 100644 --- a/examples/flaskr/flaskr_tests.py +++ b/examples/flaskr/flaskr_tests.py @@ -66,7 +66,7 @@ class FlaskrTestCase(unittest.TestCase): text='HTML allowed here' ), follow_redirects=True) assert 'No entries here so far' not in rv.data - assert '<Hello>' in rv.data + assert '<Hello>' in rv.data assert 'HTML allowed here' in rv.data