Adopt "Title (YYYY)" pool naming and clean Filmotéka link names
This commit is contained in:
+1
-1
@@ -271,7 +271,7 @@ class TestApplyCsfdTags:
|
||||
movie_file.csfd_cache = {"year": 1962, "rating": 75}
|
||||
ctx = movie_file.name_context()
|
||||
assert ctx["title"] == "Dr. No"
|
||||
assert ctx["year"] == 1962
|
||||
assert ctx["year"] == "1962" # coerced to str for uniform template fields
|
||||
assert ctx["rating"] == 75
|
||||
assert ctx["ext"] == movie_file.file_path.suffix
|
||||
assert ctx["filename"] == movie_file.filename
|
||||
|
||||
Reference in New Issue
Block a user