-
-
Notifications
You must be signed in to change notification settings - Fork 248
Closed
Description
As suggested in #437.
There are 3 failing unit tests:
FAILED tika/tests/test_ssl_link.py::CreateTest::test_url - urllib.error.HTTPError: HTTP Error 403: Forbidden
FAILED tika/tests/test_tika.py::CreateTest::test_remote_jpg - urllib.error.HTTPError: HTTP Error 403: Forbidden
FAILED tika/tests/test_tika.py::CreateTest::test_remote_pdf - urllib.error.HTTPError: HTTP Error 502: Bad Gateway
Questions
- What is
tika/tests/test_ssl_link.pysupposed to test? The 403 Forbidden error occurs, because urlretrieve's headers are not welcome. If I replace the urltrieve with a requests get, I can get the image. But I don't know why this is tested at all. It tests if urlretrieve is working and can download a file? This has nothing to do with tika-python, right? I suggest dropping the test. - I guess also header issue
- url outdated, service at http://appsrv.achd.net/reports/rwservlet?food_rep_insp&P_ENCOUNTER=201504160015 not available? what kind of file is needed here?
Reactions are currently unavailable