def METHOD_NAME(monkeypatch: pytest.MonkeyPatch) -> Generator:
    monkeypatch.setenv('EMAIL_URL', 'smtp://none:none@0.0.0.0:1025')
    if os.getenv('TILE_SERVER_URL'):
        monkeypatch.delenv('TILE_SERVER_URL')
    if os.getenv('STATICMAP_SUBDOMAINS'):
        monkeypatch.delenv('STATICMAP_SUBDOMAINS')
    if os.getenv('MAP_ATTRIBUTION'):
        monkeypatch.delenv('MAP_ATTRIBUTION')
    if os.getenv('DEFAULT_STATICMAP'):
        monkeypatch.delenv('DEFAULT_STATICMAP')
    yield from get_app(with_config=True)