A Python library for interacting and working with the Woop blockchain.
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.
pywiki/tests/logging-pyhmy/test_logging.py

16 lines
308 B

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