prej final final v2 verze
Some checks failed
CI and deploy / migration-check (push) Failing after 15s
CI and deploy / deploy (push) Has been skipped

This commit is contained in:
Dusan Vojacek
2026-06-07 00:05:46 +02:00
parent 50ac40868d
commit edc8ae9774
3 changed files with 143 additions and 11 deletions

View File

@@ -3695,6 +3695,11 @@ class ChargeAcquisitionArbitrageTests(unittest.TestCase):
50.0,
operating_mode="AUTO",
)
self.assertEqual(snap["inputs"].get("relax_chain"), ["strict"])
self.assertNotIn(
"relaxed_solver_masks",
snap["inputs"].get("relax_chain") or [],
)
self.assertLess(results[0].grid_setpoint_w, -500)
self.assertLess(results[0].battery_soc_target, 70.0)