Source code for gridstatus.tests.test_logger
import pytest
from gridstatus.logging import log
@pytest.fixture
[docs]def test_log_no_stdout(msg, caplog):
log(msg, verbose=False)
assert msg, "\n" not in caplog.text
import pytest
from gridstatus.logging import log
@pytest.fixture
[docs]def test_log_no_stdout(msg, caplog):
log(msg, verbose=False)
assert msg, "\n" not in caplog.text