Skip to content

Commit 898c976

Browse files
committed
Increase number of active namespaces for formula test
The new formulas use the CHP meter in the grid formula, and in the CHP formula, both of which are in different namespaces. This change makes the same data available from two separate streams from the mock_resampler. Signed-off-by: Sahas Subramanian <[email protected]>
1 parent d70a647 commit 898c976

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/timeseries/_formulas/test_formula_composition.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ async def test_formula_composition_missing_bat(self, mocker: MockerFixture) -> N
208208

209209
async def test_formula_composition_min_max(self, mocker: MockerFixture) -> None:
210210
"""Test the composition of formulas with the min and max."""
211-
mockgrid = MockMicrogrid(grid_meter=True, mocker=mocker)
211+
mockgrid = MockMicrogrid(grid_meter=True, mocker=mocker, num_namespaces=2)
212212
mockgrid.add_chps(1)
213213

214214
async with mockgrid, AsyncExitStack() as stack:

0 commit comments

Comments
 (0)