def reload_modules(dov_proxy_no_xdov):
    """Reload the boring and grondwaterfilter modules after setting
    PYDOV_BASE_URL.

    These need to be reloaded because they use the PYDOV_BASE_URL at import
    time to set the location of XSD schemas.

    Parameters
    ----------
    dov_proxy_no_xdov : pytest.fixture
        Fixture starting the DOV proxy and setting PYDOV_BASE_URL accordingly.
    """
    reload(pydov.types.boring)
    reload(pydov.types.grondwaterfilter)

    yield

    reload(pydov.types.boring)
    reload(pydov.types.grondwaterfilter)