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.
metrics/metric_sample.proto
1 parent 927f08d commit 8a75fc2Copy full SHA for 8a75fc2
pytests/test_common.py
@@ -25,6 +25,19 @@ def test_module_import_metrics_bounds() -> None:
25
assert bounds_pb2_grpc is not None
26
27
28
+def test_module_import_metrics_metric_sample() -> None:
29
+ """Test that the modules can be imported."""
30
+ # pylint: disable=import-outside-toplevel
31
+ from frequenz.api.common.v1.metrics import metric_sample_pb2
32
+
33
+ assert metric_sample_pb2 is not None
34
35
36
+ from frequenz.api.common.v1.metrics import metric_sample_pb2_grpc
37
38
+ assert metric_sample_pb2_grpc is not None
39
40
41
def test_module_import_grid() -> None:
42
"""Test that the modules can be imported."""
43
# pylint: disable=import-outside-toplevel
0 commit comments