Skip to content

Commit 5d0fb96

Browse files
committed
fix pytest
1 parent 49f5872 commit 5d0fb96

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/control/optional_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,8 @@ def test_et_charging_available_exception(monkeypatch):
464464
def test_et_price_update_required(monkeypatch, prices, next_query_time, current_timestamp, expected):
465465
# setup
466466
opt = Optional()
467+
opt._flexible_tariff_module = Mock()
468+
opt._grid_fee_module = Mock()
467469
opt.data.electricity_pricing.get.prices = prices
468470
opt.data.electricity_pricing.get.next_query_time = next_query_time
469471

0 commit comments

Comments
 (0)