fix tests
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user