summaryrefslogtreecommitdiffstats
path: root/test/test_downloader.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@ubuntu.com>2019-08-26 19:34:45 -0400
committerLibravatarUnit 193 <unit193@ubuntu.com>2019-08-26 19:34:45 -0400
commitb75d158d014d6c43d7d785c46c9372a9cf84d144 (patch)
tree7dca4a7e61fe8b6e2bff2142fc19891e783a7d6d /test/test_downloader.py
parent64ad8e7bd15df71ab1116eede414558631bcad32 (diff)
New upstream version 1.10.2upstream/1.10.2
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(