incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [6/7] git commit: [#6534] ticket:450 fixed test for <notextile>
Date Tue, 15 Oct 2013 21:28:14 GMT
[#6534] ticket:450 fixed test for <notextile>


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

Branch: refs/heads/master
Commit: dbd663410319d4b82511a49c2b7b927f2cd340fc
Parents: 0a76622
Author: coldmind <sokandpal@yandex.ru>
Authored: Thu Oct 10 16:21:41 2013 +0300
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Tue Oct 15 21:27:53 2013 +0000

----------------------------------------------------------------------
 ForgeImporters/forgeimporters/github/tests/test_wiki.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/dbd66341/ForgeImporters/forgeimporters/github/tests/test_wiki.py
----------------------------------------------------------------------
diff --git a/ForgeImporters/forgeimporters/github/tests/test_wiki.py b/ForgeImporters/forgeimporters/github/tests/test_wiki.py
index 91528ab..023622c 100644
--- a/ForgeImporters/forgeimporters/github/tests/test_wiki.py
+++ b/ForgeImporters/forgeimporters/github/tests/test_wiki.py
@@ -466,9 +466,8 @@ some text and **[Tips n' Tricks]**
         importer.app.url = '/p/test/wiki/'
         f = importer.convert_markup
         source = u'*[[this checklist|Troubleshooting]]*'
-        result = u"**[this checklist](Troubleshooting)**"
-        assert_not_in('<notextile>', result)
-        assert_not_in('&#60;notextile&#62;', result)
+        assert_not_in('<notextile>', f(source, 'test3.textile'))
+        assert_not_in('&#60;notextile&#62;', f(source, 'test3.textile'))
 
 
 class TestGitHubWikiImportController(TestController, TestCase):


Mime
View raw message