

def _get_test_app(self, settings=None):
    app_settings = self.get_app_settings(settings)
    self.config = Configurator(settings=app_settings)
    self.config.add_subscriber(self.listener, ServerFlushed)
    self.config.commit()
    app = webtest.TestApp(main({
        
    }, config=app_settings.config, **app_settings))
    app.RequestClass = cliquet_support.get_request_class(prefix='v1')
    return app

dataset/ETHPy150Open Kinto/kinto/kinto/tests/test_views_flush.py FlushViewTest._get_test_app/VarMisuse@70/87 `self`->`app_settings`