Treat manual storage as Importarr-owned
Use SAB storage under the configured download root as ownership even when SAB reports category '*'.
This commit is contained in:
@@ -19,6 +19,12 @@ def test_completed_manual_is_ready():
|
||||
|
||||
def test_wrong_category_ignored():
|
||||
result = classify_history_item(item(category="*"), set(), "manual", ROOT)
|
||||
assert result.ready
|
||||
assert result.reason == "SAB completed inside Importarr download root"
|
||||
|
||||
|
||||
def test_wrong_category_outside_root_ignored():
|
||||
result = classify_history_item(item(category="*", storage="/tmp/other/Movie"), set(), "manual", ROOT)
|
||||
assert result.state == "ignored"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user