allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jetm...@apache.org
Subject [4/7] allura git commit: [#4771] ticket:672 Add setup to tests to avoid failures when run together
Date Thu, 20 Nov 2014 14:17:29 GMT
[#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/15156cdc
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/15156cdc
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/15156cdc

Branch: refs/heads/ib/4771a
Commit: 15156cdc32f7e6a1601c85c0bda8f9a36a9bb16d
Parents: 9984568
Author: Igor Bondarenko <jetmind2@gmail.com>
Authored: Thu Oct 30 10:52:34 2014 +0000
Committer: Igor Bondarenko <jetmind2@gmail.com>
Committed: Thu Nov 20 10:51:46 2014 +0000

----------------------------------------------------------------------
 Allura/allura/tests/test_globals.py | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/15156cdc/Allura/allura/tests/test_globals.py
----------------------------------------------------------------------
diff --git a/Allura/allura/tests/test_globals.py b/Allura/allura/tests/test_globals.py
index 9bec12b..c0a6109 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.'''


Mime
View raw message