Fixed a broken test

This commit is contained in:
Armin Ronacher 2013-05-23 14:07:25 +01:00
parent 16df96c552
commit 85ba8c96e9

View file

@ -120,7 +120,8 @@ class ExtImportHookTestCase(FlaskTestCase):
self.assert_equal(str(exc_value), message)
self.assert_true(tb.tb_frame.f_globals is globals())
next = tb.tb_next
# reraise() adds a second frame so we need to skip that one too.
next = tb.tb_next.tb_next
self.assert_in('flask_broken/__init__.py', next.tb_frame.f_code.co_filename)