From 2217d6956f61b19f767644b2bc7324508eb13ce0 Mon Sep 17 00:00:00 2001 From: Willem-Jan van Rootselaar Date: Sat, 11 Apr 2026 14:46:28 +0200 Subject: [PATCH] fix: assert request with specific parameters in thermostat circuit test --- tests/test_circuit.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/test_circuit.py b/tests/test_circuit.py index 7cd48e52..66622287 100644 --- a/tests/test_circuit.py +++ b/tests/test_circuit.py @@ -345,7 +345,10 @@ async def test_thermostat_circuit2_no_temp_range( target_temperature="20", circuit=2, ) - mock_bsblan_circuit._request.assert_awaited_once() + mock_bsblan_circuit._request.assert_awaited_once_with( + base_path="/JS", + data={"Parameter": "1010", "Value": "20", "Type": "1"}, + ) # --- Validation tests ---