Steps to replicate the issue:
pwb logentries_tests -v TestLogentries.test_RightsEntry_tewp
What happens?:
tests: max_retries reduced from 15 to 1 test_RightsEntry_tewp (__main__.TestLogentries) Test a single logtype entry on wikipedia:test ... ERROR ====================================================================== ERROR: test_RightsEntry_tewp (__main__.TestLogentries) Test a single logtype entry on wikipedia:test ---------------------------------------------------------------------- Traceback (most recent call last): File "D:\pwb\GIT\core\tests\aspects.py", line 673, in wrapped_method func(self, key) File ".\tests\logentries_tests.py", line 150, in test_logevent self._test_logevent(logtype) File ".\tests\logentries_tests.py", line 128, in _test_logevent self.assertIsInstance(logentry.user(), str) File "D:\pwb\GIT\core\pywikibot\logentries.py", line 93, in <lambda> return lambda: self[item] File "C:\Python310\lib\collections\__init__.py", line 1105, in __getitem__ return self.__class__.__missing__(self, key) File "D:\pwb\GIT\core\pywikibot\logentries.py", line 63, in __missing__ raise HiddenKeyError( pywikibot.exceptions.HiddenKeyError: Log entry (rights) has a hidden 'user' key and you don't have permission to view it due to 'userhidden' ---------------------------------------------------------------------- Ran 1 test in 4.376s FAILED (errors=1)
https://integration.wikimedia.org/ci/job/pywikibot-core-tox-deeptest-py36-docker/1481/console