Skip to content

Commit b3e12bd

Browse files
committed
fix(tests): unique public asset names in commitment tests to satisfy generic_asset_public_root_name_key
Signed-off-by: F.N. Claessen <claessen@seita.nl>
1 parent 75392b9 commit b3e12bd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

flexmeasures/data/models/planning/tests/test_commitments.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ def test_two_flexible_assets_with_commodity(app, db):
552552

553553
# ---- assets
554554
battery = GenericAsset(
555-
name="Battery",
555+
name="Battery (two flexible assets with commodity)",
556556
generic_asset_type=battery_type,
557557
attributes={"energy-capacity": "100 kWh"},
558558
)
@@ -706,13 +706,13 @@ def test_mixed_gas_and_electricity_assets(app, db):
706706
resolution = pd.Timedelta("1h")
707707

708708
battery = GenericAsset(
709-
name="Battery",
709+
name="Battery (mixed gas and electricity)",
710710
generic_asset_type=battery_type,
711711
attributes={"energy-capacity": "100 kWh"},
712712
)
713713

714714
gas_boiler = GenericAsset(
715-
name="Gas Boiler",
715+
name="Gas Boiler (mixed gas and electricity)",
716716
generic_asset_type=boiler_type,
717717
)
718718

0 commit comments

Comments
 (0)