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

TASK DESCRIPTION
  Test was introduced with rPWBC92ad39a 
<https://phabricator.wikimedia.org/rPWBC92ad39a4d262f765c531ba8917e3aa50b60fb6d8>
 due to T348422 <https://phabricator.wikimedia.org/T348422> months ago but now 
it fails. Seems there are no pages found without 'mediainfo' wohtin the first 5 
pages
  
    D:\pwb\GIT\core>py -3.11 -m pwb file_tests -v 
TestFilePageDataItem.test_data_item_when_file_exist_but_without_item
    tests: max_retries reduced from 15 to 3
    test_data_item_when_file_exist_but_without_item 
(__main__.TestFilePageDataItem.test_data_item_when_file_exist_but_without_item)
    Test if data item is missing from file. ... ERROR
    
    ======================================================================
    ERROR: test_data_item_when_file_exist_but_without_item 
(__main__.TestFilePageDataItem.test_data_item_when_file_exist_but_without_item)
    Test if data item is missing from file.
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "D:\pwb\GIT\core\tests\file_tests.py", line 429, in 
test_data_item_when_file_exist_but_without_item
        item = page.data_item()
               ^^^^
    UnboundLocalError: cannot access local variable 'page' where it is not 
associated with a value
    
    ----------------------------------------------------------------------
    Ran 1 test in 3.059s
    
    FAILED (errors=1)

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

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

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

Reply via email to