Skip to content

Commit a417dc1

Browse files
committed
fix: assert request with specific parameters in thermostat circuit test
1 parent c79da53 commit a417dc1

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

tests/test_circuit.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,10 @@ async def test_thermostat_circuit2_no_temp_range(
345345
target_temperature="20",
346346
circuit=2,
347347
)
348-
mock_bsblan_circuit._request.assert_awaited_once()
348+
mock_bsblan_circuit._request.assert_awaited_once_with(
349+
base_path="/JS",
350+
data={"Parameter": "1010", "Value": "20", "Type": "1"},
351+
)
349352

350353

351354
# --- Validation tests ---

0 commit comments

Comments
 (0)