Replace redacted stream recorder credentials with '****' (#48832)
This commit is contained in:
parent
2dc46d4516
commit
b0aa64d59c
4 changed files with 12 additions and 13 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue