mirror of
https://github.com/home-assistant/core.git
synced 2026-05-05 12:24:48 +02:00
Update test
This commit is contained in:
@@ -64,7 +64,7 @@ DATASET_1_LARGER_TIMESTAMP = (
|
||||
|
||||
async def test_add_invalid_dataset(hass: HomeAssistant) -> None:
|
||||
"""Test adding an invalid dataset."""
|
||||
with pytest.raises(TLVError, match="unknown type 222"):
|
||||
with pytest.raises(TLVError, match="expected 173 bytes for tag 222, got 2"):
|
||||
await dataset_store.async_add_dataset(hass, "source", "DEADBEEF")
|
||||
|
||||
store = await dataset_store.async_get_store(hass)
|
||||
|
||||
Reference in New Issue
Block a user