Xqt has uploaded a new change for review. https://gerrit.wikimedia.org/r/283147
Change subject: [bugfix] Fix test_translateMagicWords test ...................................................................... [bugfix] Fix test_translateMagicWords test Bug: T132557 Change-Id: Ia845114619a40e639abdc415e37b793a1024f508 --- M tests/cosmetic_changes_tests.py 1 file changed, 4 insertions(+), 4 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core refs/changes/47/283147/1 diff --git a/tests/cosmetic_changes_tests.py b/tests/cosmetic_changes_tests.py index 80a0595..d6dc97f 100644 --- a/tests/cosmetic_changes_tests.py +++ b/tests/cosmetic_changes_tests.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- """Test cosmetic_changes module.""" # -# (C) Pywikibot team, 2015 +# (C) Pywikibot team, 2015-2016 # # Distributed under the terms of the MIT license. # @@ -235,11 +235,11 @@ def test_translateMagicWords(self): """Test translateMagicWords method.""" self.assertEqual( - '[[File:Foo.bar|mini]]', + '[[File:Foo.bar|miniatur]]', self.cct.translateMagicWords('[[File:Foo.bar|thumb]]')) self.assertEqual( - '[[File:Foo.bar|mini]]', - self.cct.translateMagicWords('[[File:Foo.bar|miniatur]]')) + '[[File:Foo.bar|miniatur]]', + self.cct.translateMagicWords('[[File:Foo.bar|mini]]')) def test_cleanUpLinks_pipes(self): """Test cleanUpLinks method.""" -- To view, visit https://gerrit.wikimedia.org/r/283147 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ia845114619a40e639abdc415e37b793a1024f508 Gerrit-PatchSet: 1 Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Owner: Xqt <i...@gno.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits