♻️ Bibliotheque montee en /films dans le conteneur (traduction des chemins Radarr)
This commit is contained in:
1 parent
2d2ebde4f6
commit
78e6b0bb22
8 files changed
+50
-20
No files matched your search
@@ -5,6 +5,7 @@ from pathlib import Path
|
||||
_test_config = Path(tempfile.mkdtemp(prefix="mkvtool-tests-"))
|
||||
os.environ["MKVTOOL_CONFIG_DIR"] = str(_test_config)
|
||||
os.environ["MKVTOOL_FILMS_DIR"] = str(_test_config / "films")
|
||||
os.environ["MKVTOOL_RADARR_FILMS_DIR"] = str(_test_config / "radarr")
|
||||
os.environ["MKVTOOL_DOWNLOADS_DIR"] = str(_test_config / "downloads")
|
||||
os.environ["MKVTOOL_SIMULATE_CONVERSION"] = "true"
|
||||
os.environ["MKVTOOL_WORKER_INTERVAL"] = "0.05"
|
||||
@@ -116,7 +116,7 @@ def test_movie_file_name_respects_rename_disabled() -> None:
|
||||
def test_conversion_order_and_radarr_naming() -> None:
|
||||
reset_state()
|
||||
folder = create_film_folder()
|
||||
mock_radarr(str(folder))
|
||||
mock_radarr(str(settings.radarr_films_dir / FILM_FOLDER))
|
||||
with TestClient(app) as client:
|
||||
configure_radarr(client)
|
||||
scan = client.post("/api/scans")
|
||||
@@ -149,7 +149,7 @@ def test_conversion_order_and_radarr_naming() -> None:
|
||||
def test_cancel_conversion_restores_detected() -> None:
|
||||
reset_state()
|
||||
folder = create_film_folder()
|
||||
mock_radarr(str(folder))
|
||||
mock_radarr(str(settings.radarr_films_dir / FILM_FOLDER))
|
||||
with TestClient(app) as client:
|
||||
configure_radarr(client)
|
||||
client.post("/api/scans")
|
||||
|
||||
Reference in new issue
Block a user