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
@@ -18,7 +18,7 @@ API_KEY = "a1b2c3d4e5f6g7h8"
|
||||
|
||||
@pytest.fixture(name="test_api")
|
||||
def mock_controller():
|
||||
"""Mock a successfull Solaredge API."""
|
||||
"""Mock a successful Solaredge API."""
|
||||
api = Mock()
|
||||
api.get_details.return_value = {"details": {"status": "active"}}
|
||||
with patch("solaredge.Solaredge", return_value=api):
|
||||
|
||||
Reference in new issue
Block a user