@@ -36,8 +36,10 @@ async def test_grid_1(mocker: MockerFixture) -> None:
36
36
connections = {
37
37
Connection (1 , 2 ),
38
38
}
39
- # pylint: disable=protected-access
40
- graph = gr ._MicrogridComponentGraph (components = components , connections = connections )
39
+
40
+ graph = gr ._MicrogridComponentGraph ( # pylint: disable=protected-access
41
+ components = components , connections = connections
42
+ )
41
43
42
44
async with MockMicrogrid (graph = graph , mocker = mocker ), AsyncExitStack () as stack :
43
45
grid = microgrid .grid ()
@@ -70,8 +72,9 @@ async def test_grid_2(mocker: MockerFixture) -> None:
70
72
Connection (1 , 2 ),
71
73
}
72
74
73
- # pylint: disable=protected-access
74
- graph = gr ._MicrogridComponentGraph (components = components , connections = connections )
75
+ graph = gr ._MicrogridComponentGraph ( # pylint: disable=protected-access
76
+ components = components , connections = connections
77
+ )
75
78
76
79
async with MockMicrogrid (graph = graph , mocker = mocker ), AsyncExitStack () as stack :
77
80
grid = microgrid .grid ()
@@ -94,8 +97,9 @@ async def test_grid_3(mocker: MockerFixture) -> None:
94
97
Connection (1 , 2 ),
95
98
}
96
99
97
- # pylint: disable=protected-access
98
- graph = gr ._MicrogridComponentGraph (components = components , connections = connections )
100
+ graph = gr ._MicrogridComponentGraph ( # pylint: disable=protected-access
101
+ components = components , connections = connections
102
+ )
99
103
100
104
async with MockMicrogrid (graph = graph , mocker = mocker ), AsyncExitStack () as stack :
101
105
grid = microgrid .grid ()
0 commit comments