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

TASK DESCRIPTION
    C:\pwb\GIT\core>py -3.13 -m pwb -site:wikipedia:test site_generators_tests 
-v TestRecentChanges.test_flags
    tests: max_retries reduced from 15 to 3
    test_flags (__main__.TestRecentChanges.test_flags)
    Test the site.recentchanges() with boolean flags. ... FAIL
    
    ======================================================================
    FAIL: test_flags (__main__.TestRecentChanges.test_flags)
    Test the site.recentchanges() with boolean flags.
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "C:\pwb\GIT\core\tests\site_generators_tests.py", line 989, in 
test_flags
        self.assertIn('redirect', change)
        ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
    AssertionError: 'redirect' not found in {'type': 'log', 'ns': 2, 'title': 
'User:Kharlan test acctcreation 12412214211', 'pageid': 0, 'revid': 0, 
'old_revid': 0, 'rcid': 943337, 'user': 'Kharlan test acctcreation 
12412214211', 'oldlen': 0, 'newlen': 0, 'timestamp': '2025-10-29T08:39:25Z', 
'comment': '', 'logid': 437789, 'logtype': 'newusers', 'logaction': 'create', 
'logparams': {'userid': 71102}, 'tags': []}
    
    ----------------------------------------------------------------------
    Ran 1 test in 4.574s
    
    FAILED (failures=1)

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

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

_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to