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
@@ -480,7 +480,7 @@ async def test_set_protection_value_failed(hass, client):
|
||||
|
||||
resp = await client.post(
|
||||
"/api/zwave/protection/18",
|
||||
data=json.dumps({"value_id": "123456", "selection": "Protecton by Seuence"}),
|
||||
data=json.dumps({"value_id": "123456", "selection": "Protecton by Sequence"}),
|
||||
)
|
||||
|
||||
assert resp.status == 202
|
||||
@@ -512,7 +512,7 @@ async def test_set_protection_value_nonexisting_node(hass, client):
|
||||
|
||||
resp = await client.post(
|
||||
"/api/zwave/protection/18",
|
||||
data=json.dumps({"value_id": "123456", "selection": "Protecton by Seuence"}),
|
||||
data=json.dumps({"value_id": "123456", "selection": "Protecton by Sequence"}),
|
||||
)
|
||||
|
||||
assert resp.status == 404
|
||||
@@ -532,7 +532,7 @@ async def test_set_protection_value_missing_class(hass, client):
|
||||
|
||||
resp = await client.post(
|
||||
"/api/zwave/protection/17",
|
||||
data=json.dumps({"value_id": "123456", "selection": "Protecton by Seuence"}),
|
||||
data=json.dumps({"value_id": "123456", "selection": "Protecton by Sequence"}),
|
||||
)
|
||||
|
||||
assert resp.status == 404
|
||||
|
||||
Reference in new issue
Block a user