Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-tests.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  **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

TASK DETAIL
  https://phabricator.wikimedia.org/T313186

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: Aklapper, Xqt, pywikibot-bugs-list, Jyoo1011, JohnsonLee01, SHEKH, 
Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, 
Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to