Skip to content

Commit

Permalink
Merge "[tests] Reorder protection result"
Browse files Browse the repository at this point in the history
  • Loading branch information
jenkins-bot authored and Gerrit Code Review committed Jun 12, 2024
2 parents 96d6da9 + 5f2701c commit d4193c7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tests/protectbot_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ class TestProtectionBot(ScriptMainTestCase):

family = 'wikipedia'
code = 'test'

rights = 'protect'
write = True

Expand Down Expand Up @@ -57,9 +56,9 @@ def test_summary(self):
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__':
Expand Down

0 comments on commit d4193c7

Please sign in to comment.