[Pywikibot-commits] [Gerrit] pywikibot/core[master]: [tests] Remove some code duplication for user_tests.py