def METHOD_NAME(
    self,
    app: Flask,
    input_weather_api_provider: str,
    expected_weather_provider: str,
    monkeypatch: pytest.MonkeyPatch,
) -> None:
    monkeypatch.setenv('WEATHER_API_PROVIDER', input_weather_api_provider)
    app_config = AppConfig.query.first()
    serialized_app_config = app_config.serialize()
    assert (
        serialized_app_config['weather_provider']
        == expected_weather_provider
    )