From 0cc6ab9e55f6ae0b6d39ddb7e023db8c0c8219b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szil=C3=A1rd=20K=C3=A1losi?= Date: Sun, 11 Feb 2024 09:48:44 +0100 Subject: [PATCH] missing fixture --- tests/fixtures.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tests/fixtures.py b/tests/fixtures.py index 6df29c1..3983bfb 100644 --- a/tests/fixtures.py +++ b/tests/fixtures.py @@ -6,6 +6,7 @@ from tests.samples.expected_values import ( QVOLTHYBG33P_VALUES, X1_BOOST_VALUES, + X1_BOOST_VALUES_OVERFLOWN, X1_HYBRID_G4_VALUES, X1_MINI_VALUES, X1_MINI_VALUES_V34, @@ -25,6 +26,7 @@ QVOLTHYBG33P_RESPONSE_V34, X1_BOOST_AIR_MINI_RESPONSE, X1_BOOST_RESPONSE, + X1_BOOST_RESPONSE_OVERFLOWN, X1_HYBRID_G3_2X_MPPT_RESPONSE, X1_HYBRID_G3_RESPONSE, X1_HYBRID_G4_RESPONSE, @@ -130,6 +132,16 @@ def simple_http_fixture(httpserver): headers=X_FORWARDED_HEADER, data=None, ), + InverterUnderTest( + uri="/", + method="POST", + query_string="optType=ReadRealTimeData", + response=X1_BOOST_RESPONSE_OVERFLOWN, + inverter=inverter.X1Boost, + values=X1_BOOST_VALUES_OVERFLOWN, + headers=X_FORWARDED_HEADER, + data=None, + ), InverterUnderTest( uri="/", method="POST",