devtools/fake.py
changeset 3454 ad1cddc06997
parent 3293 69c0ba095536
child 3652 9fba30110377
--- a/devtools/fake.py	Wed Sep 23 19:41:19 2009 +0200
+++ b/devtools/fake.py	Wed Sep 23 19:42:44 2009 +0200
@@ -47,6 +47,8 @@
         super(FakeRequest, self).__init__(*args, **kwargs)
         self._session_data = {}
         self._headers = {}
+        self.config = self.vreg.config
+        self.schema = self.vreg.schema
 
     def header_accept_language(self):
         """returns an ordered list of preferred languages"""