jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/463423 )

Change subject: [bugfix] Fix doc error in page_tests.py
......................................................................

[bugfix] Fix doc error in page_tests.py

Bug: T187009
Change-Id: I0698ad1e7052d95c85840e480fa3cd917c70a864
---
M tests/aspects.py
1 file changed, 2 insertions(+), 1 deletion(-)

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



diff --git a/tests/aspects.py b/tests/aspects.py
index a2a2e8c..352f576 100644
--- a/tests/aspects.py
+++ b/tests/aspects.py
@@ -869,7 +869,8 @@

             # create test methods processed by unittest
             for (key, sitedata) in dct['sites'].items():
-                test_name = test + '_' + key.replace('-', '_')
+                test_name = (test + '_'
+                             + key.replace('-', '_').replace(':', '_'))
                 cls.add_method(dct, test_name,
                                wrap_method(key, sitedata, dct[test]))


--
To view, visit https://gerrit.wikimedia.org/r/463423
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I0698ad1e7052d95c85840e480fa3cd917c70a864
Gerrit-Change-Number: 463423
Gerrit-PatchSet: 1
Gerrit-Owner: Dvorapa <[email protected]>
Gerrit-Reviewer: Dalba <[email protected]>
Gerrit-Reviewer: Framawiki <[email protected]>
Gerrit-Reviewer: John Vandenberg <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot (75)
_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to