--- 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"""
--- a/devtools/testlib.py Wed Sep 23 19:41:19 2009 +0200
+++ b/devtools/testlib.py Wed Sep 23 19:42:44 2009 +0200
@@ -438,7 +438,7 @@
continue
views = [view for view in views
if view.category != 'startupview'
- and not issubclass(view, NotificationView)]
+ and not issubclass(view, notification.NotificationView)]
if views:
try:
view = viewsvreg._select_best(views, req, rset=rset)