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

TASK DESCRIPTION

The reason is that BeautifulSoup might not be installed for this test.

C:\pwb\GIT\core>py -2 pwb.py tests/proofreadpage_tests -v TestProofreadPageValidSite.test_url_image
Importing ipaddress.ip_address failed: No module named ipaddress
Please install ipaddr 2.1.10+ or ipaddress.
tests: max_retries reduced from 15 to 1
test_url_image (__main__.TestProofreadPageValidSite)
Test fetching of url image of the scan of ProofreadPage. ... ERROR

======================================================================
ERROR: test_url_image (__main__.TestProofreadPageValidSite)
Test fetching of url image of the scan of ProofreadPage.
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".\tests\proofreadpage_tests.py", line 289, in test_url_image
    self.assertEqual(page.url_image, self.valid['url_image'])
  File "C:\pwb\GIT\core\pywikibot\proofreadpage.py", line 525, in url_image
    soup = BeautifulSoup(response.content, 'lxml')
TypeError: 'exceptions.ImportError' object is not callable

----------------------------------------------------------------------
Ran 1 test in 2.203s

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

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

To: Xqt
Cc: Aklapper, Mpaa, Xqt, pywikibot-bugs-list, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to