diff options
author | Tony Hansen <tony@att.com> | 2023-01-06 13:46:47 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2023-01-06 13:46:47 +0000 |
commit | aefdb1d11b1f36750438487fe1da85911acca4c6 (patch) | |
tree | 1654d20484dfa280781a89069d7920e6b617ccc8 /tests/test_get_logger.py | |
parent | 7e3d845ca700895cc2dec9a5d3282c21860591d8 (diff) | |
parent | 341b5bb2347c30344662675936b90b325efe5520 (diff) |
Merge "Heartbeat code refactoring"
Diffstat (limited to 'tests/test_get_logger.py')
-rw-r--r-- | tests/test_get_logger.py | 6 |
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) |