1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 04:50:05 +00:00

Replace redacted stream recorder credentials with '****' (#48832)

This commit is contained in:
Erik Montnemery
2021-04-08 21:44:17 +02:00
committed by GitHub
parent 2dc46d4516
commit b0aa64d59c
4 changed files with 12 additions and 13 deletions

View File

@@ -266,4 +266,4 @@ async def test_recorder_log(hass, caplog):
with patch.object(hass.config, "is_allowed_path", return_value=True):
await stream.async_record("/example/path")
assert "https://abcd:efgh@foo.bar" not in caplog.text
assert "https://foo.bar" in caplog.text
assert "https://****:****@foo.bar" in caplog.text