Skip to content

Commit 167052f

Browse files
add import tests for communication_components_pb2/grpc
Signed-off-by: Tar Viturawong <[email protected]>
1 parent 9ee3a11 commit 167052f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

pytests/test_common.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,18 @@ def test_module_import_microgrid_communication_components() -> None:
188188

189189
assert communication_components is not None
190190

191+
from frequenz.api.common.v1.microgrid.communication_components import (
192+
communication_components_pb2,
193+
)
194+
195+
assert communication_components_pb2 is not None
196+
197+
from frequenz.api.common.v1.microgrid.communication_components import (
198+
communication_components_pb2_grpc,
199+
)
200+
201+
assert communication_components_pb2_grpc is not None
202+
191203

192204
def test_module_import_location() -> None:
193205
"""Test that the modules can be imported."""

0 commit comments

Comments
 (0)