We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72337e4 commit 871a7c8Copy full SHA for 871a7c8
tests/components/ista_ecotrend/conftest.py
@@ -80,7 +80,7 @@ def mock_ista() -> Generator[MagicMock]:
80
"26e93f1a-c828-11ea-87d0-0242ac130003",
81
"eaf5c5c8-889f-4a3c-b68c-e9a676505762",
82
]
83
- client.get_consumption_data.return_value = get_consumption_data()
+ client.get_consumption_data.side_effect = get_consumption_data
84
85
yield client
86
0 commit comments