mirror of
https://github.com/calibrain/shelfmark.git
synced 2026-10-06 06:34:38 +01:00
Fix: Use info hash for clients (#495)
Passes prowlarr's info hash to download client, existing behavior as fallback
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user