mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
aesthetics
This commit is contained in:
parent
ffbfe4992a
commit
378eb05508
1 changed files with 0 additions and 12 deletions
|
|
@ -6,10 +6,6 @@ from recommendations.optimiser.funding_optimiser import (
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
# ---------------------------------------------------------------------
|
|
||||||
# Heat pump path tests (unchanged – these are fine)
|
|
||||||
# ---------------------------------------------------------------------
|
|
||||||
|
|
||||||
def test_build_heat_pump_paths():
|
def test_build_heat_pump_paths():
|
||||||
eg1 = build_heat_pump_paths([], ["loft_insulation"])
|
eg1 = build_heat_pump_paths([], ["loft_insulation"])
|
||||||
assert eg1 == [{'AND': ['loft_insulation', 'air_source_heat_pump']}]
|
assert eg1 == [{'AND': ['loft_insulation', 'air_source_heat_pump']}]
|
||||||
|
|
@ -25,10 +21,6 @@ def test_build_heat_pump_paths():
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
# ---------------------------------------------------------------------
|
|
||||||
# run_optimizer tests
|
|
||||||
# ---------------------------------------------------------------------
|
|
||||||
|
|
||||||
def test_run_optimizer_empty_input():
|
def test_run_optimizer_empty_input():
|
||||||
solution, cost, gain = run_optimizer([])
|
solution, cost, gain = run_optimizer([])
|
||||||
assert solution is None
|
assert solution is None
|
||||||
|
|
@ -36,10 +28,6 @@ def test_run_optimizer_empty_input():
|
||||||
assert gain == 0.0
|
assert gain == 0.0
|
||||||
|
|
||||||
|
|
||||||
# ---------------------------------------------------------------------
|
|
||||||
# StrategicOptimiser mocking boundary
|
|
||||||
# ---------------------------------------------------------------------
|
|
||||||
|
|
||||||
def test_budget_and_target_are_passed_correctly(monkeypatch):
|
def test_budget_and_target_are_passed_correctly(monkeypatch):
|
||||||
captured = {}
|
captured = {}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue