Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
firstof9 committed Jul 12, 2024
1 parent 8bdc803 commit 6913201
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_diagnostics.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from homeassistant.const import CONF_HOST, CONF_PASSWORD, CONF_PORT, CONF_USERNAME
from pytest_homeassistant_custom_component.common import MockConfigEntry

from custom_components.mail_and_packages.const import DOMAIN
from custom_components.mail_and_packages.const import CONF_AMAZON_FWDS, DOMAIN
from custom_components.mail_and_packages.diagnostics import (
async_get_config_entry_diagnostics,
async_get_device_diagnostics,
Expand All @@ -31,6 +31,7 @@ async def test_config_entry_diagnostics(hass):
assert result["config"]["data"][CONF_PORT] == 993
assert result["config"]["data"][CONF_PASSWORD] == "**REDACTED**"
assert result["config"]["data"][CONF_USERNAME] == "**REDACTED**"
assert result["config"]["data"][CONF_AMAZON_FWDS] == "**REDACTED**"


@pytest.mark.asyncio
Expand Down

0 comments on commit 6913201

Please sign in to comment.