Skip to content

Commit 871a7c8

Browse files
authored
Fix error in diagnostics test in ista EcoTrend integration (#143456)
1 parent 72337e4 commit 871a7c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/components/ista_ecotrend/conftest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def mock_ista() -> Generator[MagicMock]:
8080
"26e93f1a-c828-11ea-87d0-0242ac130003",
8181
"eaf5c5c8-889f-4a3c-b68c-e9a676505762",
8282
]
83-
client.get_consumption_data.return_value = get_consumption_data()
83+
client.get_consumption_data.side_effect = get_consumption_data
8484

8585
yield client
8686

0 commit comments

Comments
 (0)