incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [22/28] git commit: [#2835] ticket:308 Fix tests
Date Wed, 24 Apr 2013 18:13:56 GMT
[#2835] ticket:308 Fix tests


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/ac9e35d2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/ac9e35d2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/ac9e35d2

Branch: refs/heads/master
Commit: ac9e35d25085985b9cfc7c41b31f43237fe467d5
Parents: 6c49711
Author: Igor Bondarenko <jetmind2@gmail.com>
Authored: Mon Apr 1 14:52:57 2013 +0000
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Wed Apr 24 16:34:42 2013 +0000

----------------------------------------------------------------------
 ForgeWiki/forgewiki/tests/functional/test_root.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ac9e35d2/ForgeWiki/forgewiki/tests/functional/test_root.py
----------------------------------------------------------------------
diff --git a/ForgeWiki/forgewiki/tests/functional/test_root.py b/ForgeWiki/forgewiki/tests/functional/test_root.py
index ccc3098..2b6a190 100644
--- a/ForgeWiki/forgewiki/tests/functional/test_root.py
+++ b/ForgeWiki/forgewiki/tests/functional/test_root.py
@@ -104,8 +104,8 @@ class TestRootController(TestController):
                 'is_history_b:False',
             ],
             'hl': 'true',
-            'hl.simple.pre': '<strong>',
-            'hl.simple.post': '</strong>',
+            'hl.simple.pre': '#ALLURA-HIGHLIGHT-START#',
+            'hl.simple.post': '#ALLURA-HIGHLIGHT-END#',
             'sort': 'score asc',
         }
         search.assert_called_with('test', **solr_query)
@@ -131,7 +131,7 @@ class TestRootController(TestController):
         assert btn is not None, "Can't find a help button"
         div = r.html.find('div', attrs={'id': 'lightbox_search_help_modal'})
         assert div is not None, "Can't find help text"
-        assert_in('Searching wiki', div.text)
+        assert_in('Searching the wiki', div.text)
 
     def test_page_index(self):
         response = self.app.get('/wiki/t├ęst/')


Mime
View raw message