aboutsummaryrefslogtreecommitdiff
path: root/tests/test_parse.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_parse.py')
-rw-r--r--tests/test_parse.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_parse.py b/tests/test_parse.py
index fb824d4..bec2113 100644
--- a/tests/test_parse.py
+++ b/tests/test_parse.py
@@ -60,7 +60,7 @@ class TestGetDest:
Unless otherwise specified, it should match the filename.
"""
- assert file_with_filename.dest == "Example.jpg"
+ assert file_with_filename.dest.match("Example.jpg")
def test_get_dest_site_with_filename(self, file_with_filename: File) -> None:
"""Test that the file's site attribute is set correctly.
@@ -88,7 +88,7 @@ class TestGetDest:
def test_get_dest_with_url(self, file_with_url: File) -> None:
"""Test that the file's dest attribute is set correctly."""
- assert file_with_url.dest == "Example.jpg"
+ assert file_with_url.dest.match("Example.jpg")
def test_get_dest_site_with_url(self, file_with_url: File) -> None:
"""Test that the file's site attribute is set correctly.