Freeze config entry data (#32615)
* Freeze config entry data * Fix mutating entry.data * Fix config entry options tests
This commit is contained in:
parent
3318e65948
commit
d4615fd432
16 changed files with 71 additions and 45 deletions
|
@ -38,7 +38,7 @@ async def test_setup_entry(hass):
|
|||
async def test_setup_entry_fails(hass):
|
||||
"""Test successful setup of entry."""
|
||||
config_entry = MockConfigEntry(
|
||||
domain=axis.DOMAIN, data={axis.CONF_MAC: "0123"}, options=True, version=2
|
||||
domain=axis.DOMAIN, data={axis.CONF_MAC: "0123"}, version=2
|
||||
)
|
||||
config_entry.add_to_hass(hass)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue