Xqt has uploaded a new change for review.
https://gerrit.wikimedia.org/r/284684
Change subject: Separate test until T133276 is solved
......................................................................
Separate test until T133276 is solved
The first test fails but the second works well but is never reached.
Splitting this test ensures the second test to be executed.
Change-Id: Ib33786dc61d286db53c9d2cdf2882beb55fadaeb
---
M tests/textlib_tests.py
1 file changed, 5 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core
refs/changes/84/284684/1
diff --git a/tests/textlib_tests.py b/tests/textlib_tests.py
index a9be159..fa4528f 100644
--- a/tests/textlib_tests.py
+++ b/tests/textlib_tests.py
@@ -75,10 +75,14 @@
'section hashes are case-sensitive')
@unittest.expectedFailure
- def testNonAlphabeticalCharactersInSection(self):
+ def testNonAlphabeticalCharactersInSectionFail(self):
"""Test with non-alphabetical chars in section."""
+ # TODO: T133276, combine with following method when fixed
self.assertContains('enwiki_help_editing',
'Talk_.28discussion.29_pages',
'As used in the TOC')
+
+ def testNonAlphabeticalCharactersInSection(self):
+ """Test with non-alphabetical chars in section."""
self.assertContains('enwiki_help_editing', 'Talk_(discussion)_pages',
'Understood by mediawiki')
--
To view, visit https://gerrit.wikimedia.org/r/284684
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib33786dc61d286db53c9d2cdf2882beb55fadaeb
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Xqt <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits