test: fix webdav localhost assertion to match actual error message

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-03-15 20:49:52 +00:00
parent 800d1051a7
commit fe48e2aedc
+1 -1
View File
@@ -969,7 +969,7 @@ class TestConnectionTestEndpoint:
assert resp.status_code == 200
data = resp.json()
assert data["success"] is False
assert "localhost" in data["message"].lower()
assert "internal" in data["message"].lower() or "private" in data["message"].lower()
def test_test_webdav_blocks_file_scheme(self, int_client):
"""WebDAV test blocks file:// scheme."""