Switch to side-by-side view
--- a/Allura/allura/tests/test_globals.py +++ b/Allura/allura/tests/test_globals.py @@ -285,8 +285,7 @@ def test_markdown_big_text(): '''If text is too big g.markdown.convert should return plain text''' - from allura.lib.app_globals import BIG_TEXT_THRESHOLD - text = 'a' * (BIG_TEXT_THRESHOLD + 1) + text = 'a' * 40001 assert_equal(g.markdown.convert(text), '<pre>%s</pre>' % text) assert_equal(g.markdown_wiki.convert(text), '<pre>%s</pre>' % text)