jenkins-bot submitted this change.
[tests] Reorder protection result
Bug: T367259
Change-Id: Ib22bb3b667d19c6c136b5681ef81ae210e8a3fef
---
M tests/protectbot_tests.py
1 file changed, 3 insertions(+), 4 deletions(-)
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 change 1042244. To unsubscribe, or for help writing mail filters, visit settings.