mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 11:22:24 +01:00
Introduce new async-def coroutine syntax (#1657)
This commit is contained in:
@@ -490,11 +490,15 @@ class TestEsphomeCore:
|
||||
|
||||
def test_reset(self, target):
|
||||
"""Call reset on target and compare to new instance"""
|
||||
other = core.EsphomeCore()
|
||||
other = core.EsphomeCore().__dict__
|
||||
|
||||
target.reset()
|
||||
t = target.__dict__
|
||||
# ignore event loop
|
||||
del other["event_loop"]
|
||||
del t["event_loop"]
|
||||
|
||||
assert target.__dict__ == other.__dict__
|
||||
assert t == other
|
||||
|
||||
def test_address__none(self, target):
|
||||
target.config = {}
|
||||
|
Reference in New Issue
Block a user