def METHOD_NAME(
    self, pyramid_request, mock_es_client, settings_service, configure_index
):
    configure_index.return_value = "hypothesis-abcd1234"
    reindex(mock.sentinel.session, mock_es_client, pyramid_request)
    settings_service.put.assert_called_once_with(
        "reindex.new_index", "hypothesis-abcd1234"
    )