Run tests with caplog in a single worker (#1304)

This commit is contained in:
Steven B.
2024-11-23 12:20:51 +00:00
committed by GitHub
parent 2bda54fcb1
commit 412c65c428
15 changed files with 23 additions and 1 deletions

View File

@@ -137,6 +137,7 @@ async def test_thermostat_mode(dev, mode, states, frost_protection):
),
],
)
@pytest.mark.xdist_group(name="caplog")
async def test_thermostat_mode_warnings(dev, mode, states, msg, caplog):
"""Test thermostat modes that should log a warning."""
temp_module: TemperatureControl = dev.modules["TemperatureControl"]