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:

--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/785301
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I6266a38950256bb9bd7cd67f106c5d76f24244da
Gerrit-Change-Number: 785301
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to