From 8d946d0b99dcf8592b1ac41993b4ca3d1546a411 Mon Sep 17 00:00:00 2001
From: kpoulakakis <kpoulakakis@ubitech.eu>
Date: Tue, 4 Jun 2024 10:05:18 +0300
Subject: [PATCH] Add main function for tests.

---
 src/automation/service/__main__.py | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 src/automation/service/__main__.py

diff --git a/src/automation/service/__main__.py b/src/automation/service/__main__.py
new file mode 100644
index 000000000..c554bdf3f
--- /dev/null
+++ b/src/automation/service/__main__.py
@@ -0,0 +1,25 @@
+# Copyright 2022-2024 ETSI OSG/SDG TeraFlowSDN (TFS) (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.
+
+
+def main():
+    global LOGGER # pylint: disable=global-statement
+
+    LOGGER.info('Starting Tests...')
+
+    LOGGER.info('Bye')
+    return 0
+
+if __name__ == '__main__':
+    sys.exit(main())
-- 
GitLab