Page MenuHomePhabricator

TestFilePageDownload.test_successful_download of file_tests fails
Closed, ResolvedPublicBUG REPORT

Description

======================================================================
FAIL: test_successful_download (__main__.TestFilePageDownload.test_successful_download)
Test successful download.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\pwb\GIT\core\tests\file_tests.py", line 307, in test_successful_download
    self.assertTrue(status_code)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^
AssertionError: False is not true

----------------------------------------------------------------------

Event Timeline

Xqt triaged this task as High priority.Feb 28 2026, 5:50 PM
Xqt changed the subtype of this task from "Task" to "Bug Report".
Xqt moved this task from Backlog to Test failures on the Pywikibot-tests board.

Change #1246180 had a related patch set uploaded (by Xqt; author: Xqt):

[pywikibot/core@master] FilePage.download: use read throttle with FilePage.download

https://gerrit.wikimedia.org/r/1246180

Change #1246180 merged by jenkins-bot:

[pywikibot/core@master] FilePage.download: use read throttle with FilePage.download

https://gerrit.wikimedia.org/r/1246180