Skip to content

Commit e60d7d4

Browse files
committed
Add more info to tests
1 parent e899e16 commit e60d7d4

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

tests/test_smile.py

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2152,7 +2152,12 @@ async def test_connect_anna_heatpump(self):
21522152

21532153
@pytest.mark.asyncio
21542154
async def test_connect_anna_heatpump_cooling(self):
2155-
"""Test a Anna with Elga setup in cooling mode."""
2155+
"""
2156+
Test an Anna with Elga setup in cooling mode.
2157+
This test also covers the situation that the operation-mode it switched
2158+
from heating to cooliing due to the outdoor temperature rising above the
2159+
cooling_activation_outdoor_temperature threshold.
2160+
"""
21562161
testdata = {
21572162
# Anna
21582163
"3cb70739631c4d17a86b8b12e8a5161b": {
@@ -2205,7 +2210,11 @@ async def test_connect_anna_heatpump_cooling(self):
22052210

22062211
@pytest.mark.asyncio
22072212
async def test_connect_anna_heatpump_cooling_to_off(self):
2208-
"""Test a Anna with Elga setup in cooling mode, to cooling off ."""
2213+
"""
2214+
This test covers the situation that the operation-mode it switched back
2215+
from cooling to heating due to the outdoor temperature dropping below the
2216+
cooling_deactivation_threshold.
2217+
"""
22092218
testdata = {
22102219
# Anna
22112220
"3cb70739631c4d17a86b8b12e8a5161b": {

0 commit comments

Comments
 (0)