feat(observability): add Prometheus/Grafana/Loki/Alertmanager/Alloy stack and remove legacy Monitoring UI
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
"""Unit tests for path_utils.py — path resolution logic."""
|
||||
|
||||
import pytest
|
||||
from media_library_viewer_api.path_utils import (
|
||||
apply_remote_path_prefix,
|
||||
map_path_to_media_root,
|
||||
@@ -32,7 +31,9 @@ class TestApplyRemotePathPrefix:
|
||||
assert apply_remote_path_prefix("/media/file.mkv", "/srv/") == "/srv/media/file.mkv"
|
||||
|
||||
def test_path_with_spaces(self):
|
||||
assert apply_remote_path_prefix("/media/My Movie (2024)/file.mkv", "/srv") == "/srv/media/My Movie (2024)/file.mkv"
|
||||
assert (
|
||||
apply_remote_path_prefix("/media/My Movie (2024)/file.mkv", "/srv") == "/srv/media/My Movie (2024)/file.mkv"
|
||||
)
|
||||
|
||||
|
||||
class TestMapPathToMediaRoot:
|
||||
|
||||
Reference in New Issue
Block a user