We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fefafc5 commit 2faa6f6Copy full SHA for 2faa6f6
tests/microgrid/test_grid.py
@@ -69,10 +69,7 @@ async def test_grid_2(mocker: MockerFixture) -> None:
69
assert grid is not None
70
stack.push_async_callback(grid.stop)
71
72
- expected_fuse_current = Current.from_amperes(123.0)
73
- expected_fuse = Fuse(expected_fuse_current)
74
-
75
- assert grid.fuse == expected_fuse
+ assert grid.fuse == Fuse(max_current=Current.from_amperes(123.0))
76
77
78
async def test_grid_3(mocker: MockerFixture) -> None:
0 commit comments