Handle runtime=0 gracefully in tests/test_app.py

This commit is contained in:
sascha 2026-09-18 07:19:07 +02:00
parent 686272a7c8
commit de37b51829

View file

@ -1006,7 +1006,7 @@ def test_media_verify_returns_502_on_unparsable_ffprobe_output(monkeypatch):
response = client.post( response = client.post(
"/media/verify", "/media/verify",
headers={"Authorization": "Bearer test-token"}, 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 assert response.status_code == 502