jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1042244?usp=email )
Change subject: [tests] Reorder protection result
......................................................................
[tests] Reorder protection result
Bug: T367259
Change-Id: Ib22bb3b667d19c6c136b5681ef81ae210e8a3fef
---
M tests/protectbot_tests.py
1 file changed, 3 insertions(+), 4 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/tests/protectbot_tests.py b/tests/protectbot_tests.py
index c8339c7..aa3d5f9 100755
--- a/tests/protectbot_tests.py
+++ b/tests/protectbot_tests.py
@@ -21,7 +21,6 @@
family = 'wikipedia'
code = 'test'
-
rights = 'protect'
write = True
@@ -57,9 +56,9 @@
self.assertEqual(
rev[0].comment,
'Protected "[[User:Sn1per/ProtectTest2]]": Bot: '
- 'Protecting all pages from category Pywikibot Protect Test '
- '([Edit=Allow only administrators] (indefinite) [Move=Allow only '
- 'administrators] (indefinite))')
+ 'Protecting all pages from category Pywikibot Protect Test ('
+ '[Move=Allow only administrators] (indefinite) '
+ '[Edit=Allow only administrators] (indefinite))')
if __name__ == '__main__':
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1042244?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: Ib22bb3b667d19c6c136b5681ef81ae210e8a3fef
Gerrit-Change-Number: 1042244
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]