diff options
author | Eli Halych <illia.halych@t-mobile.pl> | 2020-09-02 13:10:35 +0000 |
---|---|---|
committer | Eli Halych <illia.halych@t-mobile.pl> | 2020-09-07 08:52:24 +0000 |
commit | 7035aed700a463fd171807526475baf84c1434e7 (patch) | |
tree | 9d0e7c4c8252f431ac3e12c0f5086c1c8b625f79 /pylog/tests/test_color_formatter.py | |
parent | 314ee85cf7c8a98dd21d5d12e4013b9f742b1012 (diff) |
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 <illia.halych@t-mobile.pl>
Change-Id: I19297e40fad743ec68aa04612ecbb11f61f2abec
Diffstat (limited to 'pylog/tests/test_color_formatter.py')
-rw-r--r-- | pylog/tests/test_color_formatter.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |