From c168097205f96ab2b2425cf9d8a7da78832fa4d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20J=2E=20Rodr=C3=ADguez-Posada?= Date: Fri, 11 Jul 2014 20:58:08 +0200 Subject: [PATCH] adding more wikis to test --- testing/test_dumpgenerator.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/testing/test_dumpgenerator.py b/testing/test_dumpgenerator.py index 6719fd7..5880d1a 100644 --- a/testing/test_dumpgenerator.py +++ b/testing/test_dumpgenerator.py @@ -59,6 +59,7 @@ class TestDumpgenerator(unittest.TestCase): # Alone wikis #['http://wiki.annotation.jp/index.php', 'http://wiki.annotation.jp/api.php', u'かずさアノテーション - ソーシャル・ゲノム・アノテーション.jpg'], ['http://archiveteam.org/index.php', 'http://archiveteam.org/api.php', u'Archive-is 2013-07-02 17-05-40.png'], + ['http://skilledtests.com/wiki/index.php5', 'http://skilledtests.com/wiki/api.php', u'Benham\'s disc (animated).gif'], # Editthis wikifarm # It has a page view limit @@ -132,10 +133,14 @@ class TestDumpgenerator(unittest.TestCase): """ Check the presence of some special titles, like odd chars """ """ The tested wikis are from different wikifarms and some alone """ - print '#'*73, '\n', 'test_getImages', '\n', '#'*73 + print '#'*73, '\n', 'test_getPageTitles', '\n', '#'*73 tests = [ # Alone wikis ['http://archiveteam.org/index.php', 'http://archiveteam.org/api.php', u'April Fools\' Day'], + ['http://skilledtests.com/wiki/index.php5', 'http://skilledtests.com/wiki/api.php', u'Conway\'s Game of Life'], + + # Gentoo wikifarm + ['http://wiki.gentoo.org/index.php', 'http://wiki.gentoo.org/api.php', u'/usr move'], ] session = requests.Session() @@ -167,6 +172,7 @@ class TestDumpgenerator(unittest.TestCase): tests = [ ['https://www.dokuwiki.org', 'DokuWiki'], #['http://wiki.openwrt.org', 'DokuWiki'], + ['http://skilledtests.com/wiki/', 'MediaWiki'], ['http://moinmo.in', 'MoinMoin'], ['https://wiki.debian.org', 'MoinMoin'], ]