jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1040995?usp=email )

Change subject: [tests] update doctest for User.contributions
......................................................................

[tests] update doctest for User.contributions

The oldest edit of Pywikibot-test account was deleted during write
tests with sysop account. Update the doctest result accordingly.

Change-Id: Ic94445a2b0ca68aaf31e5be86ed5d05e8b870579
---
M pywikibot/page/_user.py
1 file changed, 4 insertions(+), 4 deletions(-)

Approvals:
  Xqt: Looks good to me, approved
  jenkins-bot: Verified




diff --git a/pywikibot/page/_user.py b/pywikibot/page/_user.py
index 4dd9aa4..8047772 100644
--- a/pywikibot/page/_user.py
+++ b/pywikibot/page/_user.py
@@ -345,13 +345,13 @@
         >>> len(contrib)
         4
         >>> contrib[0].title()
-        'User:Unicodesnowman/DeleteMark'
+        'User:John Vandenberg/appendtext test'
         >>> contrib[1]
-        504586
+        504588
         >>> str(contrib[2])
-        '2022-03-04T17:35:41Z'
+        '2022-03-04T17:36:02Z'
         >>> contrib[3]
-        'pywikibot unit test. Do NOT actually delete.'
+        ''

         .. seealso:: :meth:`Site.usercontribs()
            <pywikibot.site._generators.GeneratorsMixin.usercontribs>`

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

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

Reply via email to