From de37b51829e8030cff722cf8bc7a52c9a709f61d Mon Sep 17 00:00:00 2001 From: sascha Date: Fri, 18 Sep 2026 07:19:07 +0200 Subject: [PATCH] Handle runtime=0 gracefully in tests/test_app.py --- tests/test_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_app.py b/tests/test_app.py index 1bc0857..45011c2 100644 --- a/tests/test_app.py +++ b/tests/test_app.py @@ -1006,7 +1006,7 @@ def test_media_verify_returns_502_on_unparsable_ffprobe_output(monkeypatch): response = client.post( "/media/verify", headers={"Authorization": "Bearer test-token"}, - json={"host": "arrapps", "path": "/data/UHD/serien/ep.mkv"}, + json={"host": "arrapps", "path": "/data/UHD/serien/ep.mkv", "expected_minutes": 49.5}, ) assert response.status_code == 502