def METHOD_NAME(self, extra_settings={}):
    settings = {"event_listeners": "tests.core.listeners"}
    settings.update(**extra_settings)
    config = testing.setUp(settings=settings)
    config.commit()
    initialization.setup_listeners(config)
    return config