From 7035aed700a463fd171807526475baf84c1434e7 Mon Sep 17 00:00:00 2001 From: Eli Halych Date: Wed, 2 Sep 2020 13:10:35 +0000 Subject: onaplogging: Docstrings, refactor, type hinting Identify and document functionalities. Describe parameters and their types, exception descriptions and types, extensions, return types and descriptions. Preserve Python 2.7 and 3.x compatibility. Add Python 2.7 to Tox testing. Extract code to utility files. Add properties for readability and maintainability, fix naming conventions. Deprecate old methods and attributes. Issue-ID: REQ-420 Signed-off-by: Eli Halych Change-Id: I19297e40fad743ec68aa04612ecbb11f61f2abec --- pylog/tests/test_color_formatter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pylog/tests/test_color_formatter.py') diff --git a/pylog/tests/test_color_formatter.py b/pylog/tests/test_color_formatter.py index 9a9ae5a..56bf9c2 100644 --- a/pylog/tests/test_color_formatter.py +++ b/pylog/tests/test_color_formatter.py @@ -27,7 +27,7 @@ from onaplogging.colorFormatter import ( FMT_STR, RESET, ) -from onaplogging.utils import is_above_python_3_2 +from onaplogging.utils.system import is_above_python_3_2 class TestColorFormatter(unittest.TestCase): -- cgit 1.2.3-korg