File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ class ProtoConversionTestCase:
4040 """Whether to expect a warning during conversion."""
4141
4242
43- def test_microgrid_info_construction () -> None :
43+ def test_construction () -> None :
4444 """Test MicrogridInfo construction with all fields."""
4545 now = datetime .now (timezone .utc )
4646 info = MicrogridInfo (
@@ -75,7 +75,7 @@ def test_microgrid_info_construction() -> None:
7575 assert info .active is True
7676
7777
78- def test_microgrid_info_without_optionals () -> None :
78+ def test_construction_without_optionals () -> None :
7979 """Test MicrogridInfo construction with only required fields."""
8080 now = datetime .now (timezone .utc )
8181 info = MicrogridInfo (
@@ -224,7 +224,7 @@ def test_string_representation() -> None:
224224@patch ("frequenz.client.microgrid._microgrid_info_proto.enum_from_proto" )
225225@patch ("frequenz.client.microgrid._microgrid_info_proto.conversion.to_datetime" )
226226# pylint: disable-next=too-many-arguments,too-many-positional-arguments,too-many-branches
227- def test_microgrid_info_from_proto (
227+ def test_from_proto (
228228 mock_to_datetime : Mock ,
229229 mock_enum_from_proto : Mock ,
230230 mock_location_from_proto : Mock ,
You can’t perform that action at this time.
0 commit comments