incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From john...@apache.org
Subject [23/44] git commit: [#4667] ticket:183 fix ForgeWiki tests related to markdown
Date Tue, 27 Nov 2012 13:46:06 GMT
[#4667] ticket:183 fix ForgeWiki tests related to markdown


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

Branch: refs/heads/cj/4691
Commit: c24d8feafc062af969903fb72ce6f06e9b69ccac
Parents: 352a954
Author: Igor Bondarenko <jetmind2@gmail.com>
Authored: Wed Oct 10 16:15:46 2012 +0300
Committer: Dave Brondsema <dbrondsema@geek.net>
Committed: Wed Nov 7 20:30:58 2012 +0000

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


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/c24d8fea/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 3375b6d..945a6c6 100644
--- a/ForgeWiki/forgewiki/tests/functional/test_root.py
+++ b/ForgeWiki/forgewiki/tests/functional/test_root.py
@@ -475,16 +475,16 @@ class TestRootController(TestController):
         r = self.app.get('/wiki/TEST/')
         found_links = 0
         for link in r.html.findAll('a'):
-            if link.contents == ['this page']:
+            if link.contents == ['[this page]']:
                 assert 'notfound' not in link.get('class', '')
                 found_links +=1
-            if link.contents == ['another page']:
+            if link.contents == ['[another page]']:
                 assert 'notfound' in link.get('class', '')
                 found_links +=1
-            if link.contents == ['space page space']:
+            if link.contents == ['[space page space]']:
                 assert 'notfound' not in link.get('class', '')
                 found_links +=1
-            if link.contents == ['space page escape']:
+            if link.contents == ['[space page escape]']:
                 assert 'notfound' not in link.get('class', '')
                 found_links +=1
             if link.contents == ['[TEST]']:


Mime
View raw message