Skip to content

Commit 19e6b16

Browse files
Remove obsolete metrics/electrical.proto
The items offered here are now covered in `metrics/metric_sample.proto`. Signed-off-by: Tiyash Basu <[email protected]>
1 parent 3ad73be commit 19e6b16

File tree

3 files changed

+2
-212
lines changed

3 files changed

+2
-212
lines changed

RELEASE_NOTES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@
6161

6262
- Added messages to support pagination in APIs.
6363

64+
- Removed `metrics/electrical.proto`, since it is no longer needed.
65+
6466
## New Features
6567

6668
<!-- Here goes the main new features and examples or instructions on how to use them -->

proto/frequenz/api/common/v1/metrics/electrical.proto

Lines changed: 0 additions & 199 deletions
This file was deleted.

pytests/test_common.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,6 @@ def test_package_import() -> None:
1212
assert v1 is not None
1313

1414

15-
def test_module_import_metrics_electrical() -> None:
16-
"""Test that the modules can be imported."""
17-
# pylint: disable=import-outside-toplevel
18-
from frequenz.api.common.v1.metrics import electrical_pb2
19-
20-
assert electrical_pb2 is not None
21-
22-
# pylint: disable=import-outside-toplevel
23-
from frequenz.api.common.v1.metrics import electrical_pb2_grpc
24-
25-
assert electrical_pb2_grpc is not None
26-
27-
2815
def test_module_import_metrics_bounds() -> None:
2916
"""Test that the modules can be imported."""
3017
# pylint: disable=import-outside-toplevel

0 commit comments

Comments
 (0)