jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1088702?usp=email )
Change subject: [tests] Ignore quotes in user name
......................................................................
[tests] Ignore quotes in user name
The user name can be quotes by double qotes like in 'user': "Wicci'o'Bot"
and this may cause the failure.
Bug: T379456
Change-Id: Ia171f2a106f04f2cfd862d4e4b9b6e6980e3393d
---
M pywikibot/comms/eventstreams.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/comms/eventstreams.py b/pywikibot/comms/eventstreams.py
index a8a83cf..35c02db 100644
--- a/pywikibot/comms/eventstreams.py
+++ b/pywikibot/comms/eventstreams.py
@@ -93,7 +93,7 @@
'server_url': 'https://www.wikidata.org',
...
'type': 'edit',
- 'user': '...',
+ 'user': ...,
'wiki': 'wikidatawiki'}
>>> del stream
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1088702?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Ia171f2a106f04f2cfd862d4e4b9b6e6980e3393d
Gerrit-Change-Number: 1088702
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]