Rework Curator into a Jellyfin-first library manager
This commit is contained in:
@@ -74,7 +74,7 @@ class TestFileWithIndex:
|
||||
tm = TagManager()
|
||||
f = File(movie, tm, index=index)
|
||||
f.title = "Matrix"
|
||||
f.csfd_link = "https://csfd.cz/film/1"
|
||||
f.meta = {"year": "1999", "rating": 87}
|
||||
f.add_tag("Žánr/Akční")
|
||||
f.set_date("1999-03-31")
|
||||
|
||||
@@ -82,7 +82,7 @@ class TestFileWithIndex:
|
||||
index2 = PoolIndex(tmp_path)
|
||||
f2 = File(movie, TagManager(), index=index2)
|
||||
assert f2.title == "Matrix"
|
||||
assert f2.csfd_link == "https://csfd.cz/film/1"
|
||||
assert f2.meta == {"year": "1999", "rating": 87}
|
||||
assert f2.date == "1999-03-31"
|
||||
assert "Žánr/Akční" in {t.full_path for t in f2.tags}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user