Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ dependencies = [
# changing the version
# (plugins.mkdocstrings.handlers.python.import)
"frequenz-client-microgrid >= 0.18.1, < 0.19.0",
"frequenz-microgrid-component-graph >= 0.3.2, < 0.3.4",
"frequenz-microgrid-component-graph >= 0.3.2, < 0.4",
"frequenz-client-common >= 0.3.6, < 0.4.0",
"frequenz-channels >= 1.6.1, < 2.0.0",
"frequenz-quantities[marshmallow] >= 1.0.0, < 2.0.0",
Expand Down
12 changes: 12 additions & 0 deletions tests/timeseries/_battery_pool/test_battery_pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,10 @@ async def run_test_battery_status_channel(
compare_messages(msg, all_pool_result)


@pytest.mark.skip(
reason="Needs to be adapted to the new component graph behavior, see "
"https://github.com/frequenz-floss/frequenz-sdk-python/issues/1345"
)
async def test_battery_pool_power(mocker: MockerFixture) -> None:
"""Test `BatteryPool.power` method."""
mockgrid = MockMicrogrid(grid_meter=True, mocker=mocker)
Expand All @@ -527,6 +531,10 @@ async def test_battery_pool_power(mocker: MockerFixture) -> None:
assert (await power_receiver.receive()).value == Power.from_watts(-30.0)


@pytest.mark.skip(
reason="Needs to be adapted to the new component graph behavior, see "
"https://github.com/frequenz-floss/frequenz-sdk-python/issues/1345"
)
async def test_battery_pool_power_two_inverters_per_battery(
mocker: MockerFixture,
) -> None:
Expand Down Expand Up @@ -559,6 +567,10 @@ async def test_battery_pool_power_two_inverters_per_battery(
assert (await power_receiver.receive()).value == Power.from_watts(-30.0)


@pytest.mark.skip(
reason="Needs to be adapted to the new component graph behavior, see "
"https://github.com/frequenz-floss/frequenz-sdk-python/issues/1345"
)
async def test_batter_pool_power_two_batteries_per_inverter(
mocker: MockerFixture,
) -> None:
Expand Down
5 changes: 5 additions & 0 deletions tests/timeseries/_ev_charger_pool/test_ev_charger_pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"""Tests for the `EVChargerPool`."""


import pytest
from frequenz.quantities import Power
from pytest_mock import MockerFixture

Expand All @@ -14,6 +15,10 @@
class TestEVChargerPool:
"""Tests for the `EVChargerPool`."""

@pytest.mark.skip(
reason="Needs to be adapted to the new component graph behavior, see "
"https://github.com/frequenz-floss/frequenz-sdk-python/issues/1345"
)
async def test_ev_power( # pylint: disable=too-many-locals
self,
mocker: MockerFixture,
Expand Down
4 changes: 4 additions & 0 deletions tests/timeseries/_formulas/test_formula_composition.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,10 @@ async def test_formula_composition_missing_bat(self, mocker: MockerFixture) -> N

assert count == 10

@pytest.mark.skip(
reason="Needs to be adapted to the new component graph behavior, see "
"https://github.com/frequenz-floss/frequenz-sdk-python/issues/1345"
)
async def test_formula_composition_min_max(self, mocker: MockerFixture) -> None:
"""Test the composition of formulas with the min and max."""
mockgrid = MockMicrogrid(grid_meter=True, mocker=mocker, num_namespaces=2)
Expand Down
5 changes: 5 additions & 0 deletions tests/timeseries/test_logical_meter.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

from contextlib import AsyncExitStack

import pytest
from frequenz.quantities import Power
from pytest_mock import MockerFixture

Expand Down Expand Up @@ -40,6 +41,10 @@ async def test_chp_power(self, mocker: MockerFixture) -> None:
await mockgrid.mock_resampler.send_chp_power([-12.0])
assert (await chp_power_receiver.receive()).value == Power.from_watts(-12.0)

@pytest.mark.skip(
reason="Needs to be adapted to the new component graph behavior, see "
"https://github.com/frequenz-floss/frequenz-sdk-python/issues/1345"
)
async def test_pv_power(self, mocker: MockerFixture) -> None:
"""Test the pv power formula."""
mockgrid = MockMicrogrid(grid_meter=False, mocker=mocker)
Expand Down