Fix typos found by codespell (#31243)
* Fix typos found by codespell * Fix typos found by codespell * codespell: Furture ==> Future * Update test_config_flow.py * Update __init__.py * Spellcheck: successfull ==> successful * Codespell: unsuccesful ==> unsuccessful * Codespell: cant ==> can't * Codespell: firware ==> firmware * Codespell: mimick ==> mimic
This commit is contained in:
1 parent
a017c26234
commit
df7d2b3aeb
121 files changed
+170
-156
No files matched your search
@@ -475,7 +475,7 @@ async def test_track_sunrise_update_location(hass):
|
||||
with patch("homeassistant.util.dt.utcnow", return_value=utc_now):
|
||||
async_track_sunrise(hass, lambda: runs.append(1))
|
||||
|
||||
# Mimick sunrise
|
||||
# Mimic sunrise
|
||||
_send_time_changed(hass, next_rising)
|
||||
await hass.async_block_till_done()
|
||||
assert len(runs) == 1
|
||||
@@ -485,7 +485,7 @@ async def test_track_sunrise_update_location(hass):
|
||||
await hass.config.async_update(latitude=40.755931, longitude=-73.984606)
|
||||
await hass.async_block_till_done()
|
||||
|
||||
# Mimick sunrise
|
||||
# Mimic sunrise
|
||||
_send_time_changed(hass, next_rising)
|
||||
await hass.async_block_till_done()
|
||||
# Did not increase
|
||||
@@ -501,7 +501,7 @@ async def test_track_sunrise_update_location(hass):
|
||||
break
|
||||
mod += 1
|
||||
|
||||
# Mimick sunrise at new location
|
||||
# Mimic sunrise at new location
|
||||
_send_time_changed(hass, next_rising)
|
||||
await hass.async_block_till_done()
|
||||
assert len(runs) == 2
|
||||
|
||||
Reference in new issue
Block a user