Test was introduced with rPWBC92ad39a due to 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 -site:commons 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)