John Vandenberg has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/290927

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(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/27/290927/1

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: newchange
Gerrit-Change-Id: Ia845114619a40e639abdc415e37b793a1024f508
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: 2.0
Gerrit-Owner: John Vandenberg <jay...@gmail.com>
Gerrit-Reviewer: Xqt <i...@gno.de>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to