From bf52a17902cdbc300ee91ec1b2e8d2b7890ba35c Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Sun, 18 Apr 2010 16:29:41 +0200 Subject: [PATCH] Removed useless code --- docs/testing.rst | 1 - examples/flaskr/flaskr_tests.py | 1 - 2 files changed, 2 deletions(-) diff --git a/docs/testing.rst b/docs/testing.rst index 62b309ce..5439fbaf 100644 --- a/docs/testing.rst +++ b/docs/testing.rst @@ -162,7 +162,6 @@ like this:: text='HTML allowed here' ), follow_redirects=True) assert 'No entries here so far' not in rv.data - self.login(flaskr.USERNAME, flaskr.PASSWORD) assert '<Hello>' in rv.data assert 'HTML allowed here' in rv.data diff --git a/examples/flaskr/flaskr_tests.py b/examples/flaskr/flaskr_tests.py index e8f01437..4355a650 100644 --- a/examples/flaskr/flaskr_tests.py +++ b/examples/flaskr/flaskr_tests.py @@ -57,7 +57,6 @@ class FlaskrTestCase(unittest.TestCase): text='HTML allowed here' ), follow_redirects=True) assert 'No entries here so far' not in rv.data - self.login(flaskr.USERNAME, flaskr.PASSWORD) assert '<Hello>' in rv.data assert 'HTML allowed here' in rv.data