-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #318 from PeteRager/connection-state-fix
state names are only a-z 0-9
- Loading branch information
Showing
2 changed files
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -316,11 +316,11 @@ async def test_async_setup_entry_multiple(hass, caplog): | |
assert manager.create_equipment_parameters is False | ||
assert manager._conf_init_wait_time == 30 | ||
assert manager.is_metric is True | ||
assert manager.connection_state == "lennoxs30.conn_192_168_1_94" | ||
assert manager.connection_state == "lennoxs30.conn_192168194" | ||
|
||
data = { | ||
"cloud_connection": True, | ||
"email": "pete[email protected]", | ||
"email": "_pete[email protected]", | ||
"password": "rage", | ||
"app_id": "homeassistant", | ||
"create_sensors": True, | ||
|
@@ -354,7 +354,7 @@ async def test_async_setup_entry_multiple(hass, caplog): | |
assert manager._poll_interval == 1 | ||
assert manager._fast_poll_interval == 0.75 | ||
assert manager._fast_poll_count == 5 | ||
assert manager.api._username == "pete[email protected]" | ||
assert manager.api._username == "_pete[email protected]" | ||
assert manager.api._password == "rage" | ||
assert manager._pii_message_log is False | ||
assert manager._message_debug_logging is True | ||
|
@@ -367,7 +367,7 @@ async def test_async_setup_entry_multiple(hass, caplog): | |
assert manager.create_equipment_parameters is False | ||
assert manager._conf_init_wait_time == 30 | ||
assert manager.is_metric is True | ||
assert manager.connection_state == "lennoxs30.conn_pete_rage" | ||
assert manager.connection_state == "lennoxs30.conn_peterage" | ||
|
||
|
||
@pytest.mark.asyncio | ||
|