mirror of
https://github.com/codelucas/newspaper.git
synced 2021-06-07 22:52:17 +03:00
changed 404 url (#819)
This commit is contained in:
3
tests/unit_tests.py
vendored
3
tests/unit_tests.py
vendored
@@ -753,8 +753,7 @@ class TestDownloadPdf(unittest.TestCase):
|
||||
@print_test
|
||||
def test_article_pdf_ignoring(self):
|
||||
empty_pdf = "%PDF-" # empty PDF constant
|
||||
a = Article(url='http://www.technik-medien.at/ePaper_Download/'
|
||||
'IoT4Industry+Business_2018-10-31_2018-03.pdf',
|
||||
a = Article(url='https://www.adobe.com/pdf/pdfs/ISO32000-1PublicPatentLicense.pdf',
|
||||
ignored_content_types_defaults={"application/pdf": empty_pdf,
|
||||
"application/x-pdf": empty_pdf,
|
||||
"application/x-bzpdf": empty_pdf,
|
||||
|
||||
Reference in New Issue
Block a user