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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user