Skip to content

Fix test broken by the update to frequenz-microgrid-component-graph 0.3.4 #1345

@llucax

Description

@llucax

What happened?

frequenz-microgrid-component-graph 0.3.4 introduced some behavior changes (different ways to build certain formulas), and now some SDK tests are failing.

What did you expect instead?

Tests to pass.

Affected version(s)

No response

Affected part(s)

Unit, integration and performance tests (part:tests)

Extra information

The tests that are failing (and now disabled) are:

  • tests/timeseries/_battery_pool/test_battery_pool.py::test_battery_pool_power
  • tests/timeseries/_battery_pool/test_battery_pool.py::test_battery_pool_power_two_inverters_per_battery
  • tests/timeseries/_battery_pool/test_battery_pool.py::test_batter_pool_power_two_batteries_per_inverter
  • tests/timeseries/_ev_charger_pool/test_ev_charger_pool.py::TestEVChargerPool::test_ev_power
  • tests/timeseries/_formulas/test_formula_composition.py::TestFormulaComposition::test_formula_composition_min_max
  • tests/timeseries/test_logical_meter.py::TestLogicalMeter::test_pv_power

Metadata

Metadata

Assignees

Labels

priority:❓We need to figure out how soon this should be addressedtype:bugSomething isn't working

Type

Projects

Status

To do

Relationships

None yet

Development

No branches or pull requests

Issue actions