mirror of
https://github.com/Rikj000/MoniGoMani.git
synced 2022-03-06 00:08:05 +03:00
24 lines
511 B
Python
24 lines
511 B
Python
# -*- coding: utf-8 -*-
|
|
import sys
|
|
|
|
sys.path.append('.')
|
|
sys.path.append('..')
|
|
|
|
from user_data.mgm_tools.mgm_hurry.MoniGoManiLogger import MoniGoManiLogger # noqa: E402
|
|
|
|
|
|
def test_initialisation_logger():
|
|
"""
|
|
↓ Unit Testing "__init__":
|
|
"""
|
|
logger = MoniGoManiLogger('.', print_output=True)
|
|
assert logger is not None
|
|
|
|
|
|
def test_get_logger():
|
|
"""
|
|
↓ Unit Testing "get_logger"
|
|
"""
|
|
logger = MoniGoManiLogger('.', print_output=True).get_logger()
|
|
assert logger is not None
|