mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Update test_importer.py
Try fix for download_attachments test
This commit is contained in:
parent
310ae7edee
commit
ea1104061a
1 changed files with 1 additions and 1 deletions
|
|
@ -378,7 +378,7 @@ class TestWordpressXMLAttachements(unittest.TestCase):
|
|||
bad_url = 'http://localhost:1/not_a_file.txt'
|
||||
silent_da = mute()(download_attachments)
|
||||
with temporary_folder() as temp:
|
||||
locations = list(silent_da(temp, [good_url, bad_url]))
|
||||
locations = list(silent_da(temp, [good_url, bad_url]).keys())
|
||||
self.assertEqual(1, len(locations))
|
||||
directory = locations[0]
|
||||
self.assertTrue(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue