def METHOD_NAME(
    idinfo, test_client: flask.testing.FlaskClient  # noqa: F811
):
    with mock_server_settings(
        {
            ServerSettingsVar.GOOGLE_OAUTH_CLIENT_ID: "ABC123",
            ServerSettingsVar.SEMATIC_AUTHORIZED_EMAIL_DOMAIN: (
                "example.com,example2.com"
            ),
        }
    ):
        with mock.patch(
            "google.oauth2.id_token.verify_oauth2_token",
            return_value=idinfo,
        ):
            response = test_client.post("/login/google", json={"token": "abc"})
            assert response.status_code == HTTPStatus.OK