summaryrefslogtreecommitdiffstats
path: root/tests/test_get_logger.py
diff options
context:
space:
mode:
authorVijay Venkatesh Kumar <vv770d@att.com>2022-11-17 14:51:38 -0500
committerVijay Venkatesh Kumar <vv770d@att.com>2023-01-05 17:10:16 -0500
commit341b5bb2347c30344662675936b90b325efe5520 (patch)
treec5fa256f77cae915bd758a060b69e53c4039e7c1 /tests/test_get_logger.py
parent2e840627a6b01475eb98b52f0a45593b4f2b8641 (diff)
Heartbeat code refactoring
code optimization & test improvement Issue-ID: DCAEGEN2-2953 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Change-Id: I99229d966c13ad666ac994ab5a582aeeaa306639 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Diffstat (limited to 'tests/test_get_logger.py')
-rw-r--r--tests/test_get_logger.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/test_get_logger.py b/tests/test_get_logger.py
index a4ceea5..1096271 100644
--- a/tests/test_get_logger.py
+++ b/tests/test_get_logger.py
@@ -1,5 +1,5 @@
# ============LICENSE_START=======================================================
-# Copyright (c) 2020-2021 AT&T Intellectual Property. All rights reserved.
+# Copyright (c) 2020-2023 AT&T Intellectual Property. All rights reserved.
# Copyright (c) 2021 Fujitsu Ltd.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -24,6 +24,8 @@ log = logging.getLogger(__name__)
def test_configure_logger():
+ # logpath = (os.path.dirname(__file__))+"hb_logs.txt"
+ # expected_log_path = Path(logpath)
expected_log_path = Path("./hb_logs.txt")
if expected_log_path.exists():
os.remove(expected_log_path)
@@ -34,6 +36,8 @@ def test_configure_logger():
def test_configure_logger_with_name():
+ # logpath = (os.path.dirname(__file__))+"hb_htbtworker_logs.txt"
+ # expected_log_path = Path(logpath)
expected_log_path = Path("./hb_htbtworker_logs.txt")
if expected_log_path.exists():
os.remove(expected_log_path)