--- a/devtools/testlib.py Wed May 25 14:14:08 2011 +0200
+++ b/devtools/testlib.py Wed May 25 18:46:09 2011 +0200
@@ -724,7 +724,8 @@
self.assertEqual(session.login, origsession.login)
self.assertEqual(session.anonymous_session, False)
self.assertEqual(path, 'view')
- self.assertEqual(params, {'__message': 'welcome %s !' % req.user.login})
+ msg = req.session.data[params['_cwmsgid']]
+ self.assertEqual(msg, 'welcome %s !' % req.user.login)
def assertAuthFailure(self, req, nbsessions=0):
self.app.connect(req)