diff --git a/pelican/tests/test_importer.py b/pelican/tests/test_importer.py index 6af59212..f2c704c3 100644 --- a/pelican/tests/test_importer.py +++ b/pelican/tests/test_importer.py @@ -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(