Skip to content

Commit a741cb5

Browse files
committed
fixup test microgrid info
1 parent 60c9caa commit a741cb5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_microgrid_info.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ class ProtoConversionTestCase:
4040
"""Whether to expect a warning during conversion."""
4141

4242

43-
def test_construction() -> None:
44-
"""Test MicrogridInfo construction with all fields."""
43+
def test_creation() -> None:
44+
"""Test MicrogridInfo creation with all fields."""
4545
now = datetime.now(timezone.utc)
4646
info = MicrogridInfo(
4747
id=MicrogridId(1234),
@@ -75,8 +75,8 @@ def test_construction() -> None:
7575
assert info.active is True
7676

7777

78-
def test_construction_without_optionals() -> None:
79-
"""Test MicrogridInfo construction with only required fields."""
78+
def test_creation_without_optionals() -> None:
79+
"""Test MicrogridInfo creation with only required fields."""
8080
now = datetime.now(timezone.utc)
8181
info = MicrogridInfo(
8282
id=MicrogridId(1234),

0 commit comments

Comments
 (0)