jenkins-bot has submitted this change and it was merged.

Change subject: [bugfix] Fix test_translateMagicWords test
......................................................................


[bugfix] Fix test_translateMagicWords test

Bug: T132557
Change-Id: Ia845114619a40e639abdc415e37b793a1024f508
(cherry picked from commit 585a0d6d884cd5ec76f1969d2e6e40755c17b757)
---
M tests/cosmetic_changes_tests.py
1 file changed, 4 insertions(+), 4 deletions(-)

Approvals:
  Xqt: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/tests/cosmetic_changes_tests.py b/tests/cosmetic_changes_tests.py
index f864c76..8d28a3c 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.
 #
@@ -45,11 +45,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/290927
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia845114619a40e639abdc415e37b793a1024f508
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: 2.0
Gerrit-Owner: John Vandenberg <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to