pyramid_cubicweb/tests/__init__.py
changeset 11564 a6547ff97ce0
parent 11514 82e86cd8e217
child 11593 73bf8377a3d5
--- a/pyramid_cubicweb/tests/__init__.py	Wed Apr 29 11:39:35 2015 +0200
+++ b/pyramid_cubicweb/tests/__init__.py	Tue Apr 28 11:04:03 2015 +0200
@@ -6,6 +6,8 @@
 
 
 class PyramidCWTest(CubicWebTestTC):
+    settings = {}
+
     @classmethod
     def init_config(cls, config):
         super(PyramidCWTest, cls).init_config(config)
@@ -17,7 +19,7 @@
     def setUp(self):
         # Skip CubicWebTestTC setUp
         super(CubicWebTestTC, self).setUp()
-        config = make_cubicweb_application(self.config)
+        config = make_cubicweb_application(self.config, self.settings)
         self.includeme(config)
         self.pyr_registry = config.registry
         self.webapp = webtest.TestApp(config.make_wsgi_app())