You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
308 B
16 lines
308 B
5 years ago
|
import os
|
||
|
|
||
|
import pytest
|
||
|
|
||
|
from pyhmy import logging
|
||
|
|
||
|
|
||
|
def test_basic_logger():
|
||
|
logger = logging.ControlledLogger("test", "logs/")
|
||
|
logger.info("test info")
|
||
|
logger.debug("test debug")
|
||
|
logger.error("test error")
|
||
|
logger.warning("test warning")
|
||
|
logger.write()
|
||
|
# TODO: finish this test
|