fix tests

This commit is contained in:
2025-11-15 09:11:02 +01:00
parent 8ae8b0cdfb
commit f91875f6fc
10 changed files with 223 additions and 138 deletions

View File

@@ -48,15 +48,15 @@ class TestDownloadPriority:
def test_all_priorities_exist(self):
"""Test that all expected priorities are defined."""
assert DownloadPriority.LOW == "low"
assert DownloadPriority.NORMAL == "normal"
assert DownloadPriority.HIGH == "high"
assert DownloadPriority.LOW == "LOW"
assert DownloadPriority.NORMAL == "NORMAL"
assert DownloadPriority.HIGH == "HIGH"
def test_priority_values(self):
"""Test that priority values are lowercase strings."""
"""Test that priority values are uppercase strings."""
for priority in DownloadPriority:
assert isinstance(priority.value, str)
assert priority.value.islower()
assert priority.value.isupper()
class TestEpisodeIdentifier: