mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 19:27:45 +00:00
Correct check for removed index in recorder test (#125323)
This commit is contained in:
parent
60b0f0dc53
commit
0ca0836e83
@ -335,7 +335,7 @@ async def test_migrate_events_context_ids(
|
||||
|
||||
# Check the index which will be removed by the migrator no longer exists
|
||||
with session_scope(hass=hass) as session:
|
||||
assert get_index_by_name(session, "states", "ix_states_context_id") is None
|
||||
assert get_index_by_name(session, "events", "ix_events_context_id") is None
|
||||
|
||||
|
||||
@pytest.mark.parametrize("enable_migrate_context_ids", [True])
|
||||
|
Loading…
x
Reference in New Issue
Block a user