mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Allow chaining contexts (#21028)
* Allow chaining contexts * Add stubbed out migration
This commit is contained in:
@@ -66,7 +66,7 @@ async def test_if_fires_on_zone_enter(hass, calls):
|
||||
await hass.async_block_till_done()
|
||||
|
||||
assert 1 == len(calls)
|
||||
assert calls[0].context is context
|
||||
assert calls[0].context.parent_id == context.id
|
||||
assert 'zone - test.entity - hello - hello - test' == \
|
||||
calls[0].data['some']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user