def METHOD_NAME(monkeypatch):
    """Test that a log level can be set via env."""
    monkeypatch.setenv("FLOWMACHINE_LOG_LEVEL", "INFO")
    connect()
    assert logging.INFO == logging.getLogger("flowmachine.debug").level