jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/785301 )
Change subject: [bugfix] Fix test due to changed message: ......................................................................
[bugfix] Fix test due to changed message:
Log entry (...) has a hidden 'comment' key and you don't have permission to view it due to 'commenthidden'
due to 'commenthidden'
was added
Change-Id: I6266a38950256bb9bd7cd67f106c5d76f24244da --- M tests/logentries_tests.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/logentries_tests.py b/tests/logentries_tests.py index 30717be..91b3a22 100755 --- a/tests/logentries_tests.py +++ b/tests/logentries_tests.py @@ -92,7 +92,7 @@ self.assertRegex( str(e), r"Log entry ([^)]+) has a hidden 'comment' key and you " - r"don't have permission to view it.") + r"don't have permission to view it") except KeyError as e: self.assertRegex(str(e), "Log entry ([^)]+) has no 'comment' key") else:
pywikibot-commits@lists.wikimedia.org