XZise has uploaded a new change for review.

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

Change subject: [FIX] ui_tests: Use str name
......................................................................

[FIX] ui_tests: Use str name

The name for the registration must be a str but with unicode_literals
from 1e54a7d6 this is unicode in Python 2.

Change-Id: I9d3ba7c812d87ef196d302dab3c3d2d2a8d3bda7
---
M tests/ui_tests.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/57/203657/1

diff --git a/tests/ui_tests.py b/tests/ui_tests.py
index 20e8204..3a3388c 100644
--- a/tests/ui_tests.py
+++ b/tests/ui_tests.py
@@ -115,7 +115,7 @@
 
         pass
 
-    pywikibotManager.register('pywikibot', pywikibotWrapper)
+    pywikibotManager.register(str('pywikibot'), pywikibotWrapper)
     _manager = pywikibotManager(address=("127.0.0.1", 47228), 
authkey="4DJSchgwy5L5JxueZEWbxyeG")
     if len(sys.argv) > 1 and sys.argv[1] == "--run-as-slave-interpreter":
         s = _manager.get_server()

-- 
To view, visit https://gerrit.wikimedia.org/r/203657
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9d3ba7c812d87ef196d302dab3c3d2d2a8d3bda7
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: XZise <[email protected]>

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

Reply via email to