summaryrefslogtreecommitdiffstats
path: root/test/test_downloader.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_downloader.py')
-rw-r--r--test/test_downloader.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_downloader.py b/test/test_downloader.py
index caed983..0f58d4e 100644
--- a/test/test_downloader.py
+++ b/test/test_downloader.py
@@ -120,7 +120,7 @@ class TestDownloaderBase(unittest.TestCase):
}
pathfmt = PathFormat(cls.extractor)
pathfmt.set_directory(kwdict)
- pathfmt.set_keywords(kwdict)
+ pathfmt.set_filename(kwdict)
if content:
mode = "w" + ("b" if isinstance(content, bytes) else "")
@@ -145,7 +145,7 @@ class TestDownloaderBase(unittest.TestCase):
# test filename extension
self.assertEqual(
- pathfmt.keywords["extension"],
+ pathfmt.extension,
expected_extension,
)
self.assertEqual(