def METHOD_NAME(caplog):
    test_path = "base/"
    with caplog.at_level(logging.DEBUG, logger="rasa.utils.endpoints"):
        assert endpoint_utils.concat_url(test_path, None) == test_path
    assert len(caplog.records) == 1