Difficult-Rocket/test/utils/loggers.py
2023-01-20 14:08:12 +08:00

23 lines
608 B
Python

# -------------------------------
# Difficult Rocket
# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com
# All rights reserved
# -------------------------------
import unittest
# from libs.utils.build import logger as c_logger
from trytry.c.logger import logger as py_logger
class LoggerTest(unittest.TestCase):
def check_a_logger(self, logger: py_logger.Logger, config: dict):
self.assertEqual(logger.trace('aaaa trace'), config)
logger.fine('ruaaa fine')
logger.debug()
def test_1_py_logger(self):
...
# def test_2_c_logger(self):
# ...