def METHOD_NAME():
    """Test that a warning is raised when connecting twice."""
    connect()
    with pytest.warns(UserWarning):
        connect()
    # assert 1 == len(logging.getLogger("flowmachine.debug").handlers)