Skip to content

Commit

Permalink
Merge "[tests] set maxDiff to None in TestProtectionBot.test_summary()"
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 593d1c1 + 9de28ff commit 9d26f96
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/protectbot_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ def test_summary(self):
rev[1].comment,
'Removed protection from "[[User:Sn1per/ProtectTest2]]": Bot: '
'Unprotecting all pages from category Pywikibot Protect Test')

self.maxDiff = None
self.assertEqual(
rev[0].comment,
'Protected "[[User:Sn1per/ProtectTest2]]": Bot: '
Expand Down

0 comments on commit 9d26f96

Please sign in to comment.