You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by je...@apache.org on 2014/10/30 12:21:01 UTC
[11/11] git commit: [#4771] ticket:672 Add setup to tests to avoid
failures when run together
[#4771] ticket:672 Add setup to tests to avoid failures when run together
Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/8c65b6e2
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/8c65b6e2
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/8c65b6e2
Branch: refs/heads/ib/4771
Commit: 8c65b6e243e4d48653ee89b9daa4477f348bc781
Parents: 89070c4
Author: Igor Bondarenko <je...@gmail.com>
Authored: Thu Oct 30 10:52:34 2014 +0000
Committer: Igor Bondarenko <je...@gmail.com>
Committed: Thu Oct 30 10:52:34 2014 +0000
----------------------------------------------------------------------
Allura/allura/tests/test_globals.py | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/allura/blob/8c65b6e2/Allura/allura/tests/test_globals.py
----------------------------------------------------------------------
diff --git a/Allura/allura/tests/test_globals.py b/Allura/allura/tests/test_globals.py
index c86da17..a68096d 100644
--- a/Allura/allura/tests/test_globals.py
+++ b/Allura/allura/tests/test_globals.py
@@ -534,6 +534,7 @@ More text
@td.with_wiki
+@with_setup(setUp)
def test_toc_generation_for_included_page_pre_without_headers():
'''Check that formatting inside <pre> tags is preserved
when TOC is present and included page does not contain headers.'''
@@ -565,6 +566,7 @@ four five six</pre>
@td.with_wiki
+@with_setup(setUp)
def test_toc_generation_for_included_page_pre_with_headers():
'''Check that formatting inside <pre> tags is preserved
when TOC is present and included page contains headers.'''