Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
LKuemmel committed Dec 17, 2024
1 parent fb1fa98 commit ab3418c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/control/algorithm/surplus_controlled_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def setup_cp(cp: Chargepoint, feed_in_limit: bool) -> Chargepoint:
def test_limit_adjust_current(new_current: float, expected_current: float, monkeypatch):
# setup
cp = Chargepoint(0, None)
cp.data = ChargepointData(get=Get(currents=[15]*3))
cp.data = ChargepointData(get=Get(charge_state=True, currents=[15]*3))
cp.template = CpTemplate()
monkeypatch.setattr(Chargepoint, "set_state_and_log", Mock())

Expand Down

0 comments on commit ab3418c

Please sign in to comment.