From d66e79c3cbaf8a70e064689aae2690be658ccf29 Mon Sep 17 00:00:00 2001
From: Waleed Akbar <wakbar@cttc.es>
Date: Thu, 25 Apr 2024 10:15:29 +0000
Subject: [PATCH] method to test "collectorId" message is added

---
 src/telemetry_frontend/tests/test_mesages.py | 22 ++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 src/telemetry_frontend/tests/test_mesages.py

diff --git a/src/telemetry_frontend/tests/test_mesages.py b/src/telemetry_frontend/tests/test_mesages.py
new file mode 100644
index 000000000..0b7eaeb2b
--- /dev/null
+++ b/src/telemetry_frontend/tests/test_mesages.py
@@ -0,0 +1,22 @@
+# Copyright 2022-2023 ETSI TeraFlowSDN - TFS OSG (https://tfs.etsi.org/)
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+from common.proto import telemetry_frontend_pb2
+# from common.proto.kpi_manager_pb2 import kpi_id
+# from common.proto.kpi_sample_types_pb2 import KpiSampleType
+
+def collector_id():
+    _collector_id                   = telemetry_frontend_pb2.CollectorId()
+    _collector_id.collector_id.uuid = str(1)
+    return _collector_id
\ No newline at end of file
-- 
GitLab