mirror of
https://github.com/home-assistant/core.git
synced 2026-08-03 20:24:55 +02:00
Fix hash-seed dependent flakiness in test_setup_frontend_before_recorder (#176508)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -619,9 +619,11 @@ async def test_setup_frontend_before_recorder(hass: HomeAssistant) -> None:
|
||||
assert "recorder" in hass.config.components
|
||||
assert "http" in hass.config.components
|
||||
|
||||
assert order == [
|
||||
"http",
|
||||
"an_after_dep",
|
||||
# http (a dependency) and an_after_dep (an after_dependency) are both set
|
||||
# up in the frontend substage of stage 0; their relative order depends on
|
||||
# set iteration order and is not guaranteed.
|
||||
assert set(order[:2]) == {"http", "an_after_dep"}
|
||||
assert order[2:] == [
|
||||
"frontend",
|
||||
"recorder",
|
||||
"normal_integration",
|
||||
|
||||
Reference in New Issue
Block a user