feat(observability): add Prometheus/Grafana/Loki/Alertmanager/Alloy stack and remove legacy Monitoring UI
This commit is contained in:
@@ -7,7 +7,9 @@ from media_library_viewer_api.clients.ssh import RemoteSSHClient
|
||||
|
||||
def test_connect_uses_existing_known_hosts_without_reprobing(tmp_path):
|
||||
known_hosts_path = tmp_path / "known_hosts"
|
||||
known_hosts_path.write_text("example.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAAFAKE\n")
|
||||
known_hosts_path.write_text(
|
||||
"example.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID8tdNkXNS1EWbkjb2XxFHQXRrpYzl0MXaVLRmVrbmDZ\n"
|
||||
)
|
||||
|
||||
ssh_client = MagicMock()
|
||||
ssh_client.connect.return_value = None
|
||||
|
||||
Reference in New Issue
Block a user