Fix: Use info hash for clients (#495)

Passes prowlarr's info hash to download client, existing behavior as
fallback
This commit is contained in:
Alex
2026-01-19 20:23:45 +00:00
committed by GitHub
parent 8470095534
commit a030bca5d3
13 changed files with 227 additions and 25 deletions
+3 -2
View File
@@ -395,8 +395,9 @@ class TestQBittorrentIntegration:
assert 0 <= status.progress <= 100
valid_states = {"downloading", "complete", "error", "seeding", "paused", "queued", "fetching_metadata", "stalled"}
assert status.state.value in valid_states
valid_states = {"downloading", "complete", "error", "seeding", "paused", "queued", "fetching_metadata", "stalled", "checking"}
state_value = status.state.value if hasattr(status.state, "value") else status.state
assert state_value in valid_states
assert isinstance(status.complete, bool)
finally: