# HG changeset patch # User Sylvain Thénault # Date 1306341969 -7200 # Node ID 8e1c58a212ad42ea15a4969e21929609f322090b # Parent ff6ae47bb68808093c2fceda2dfed9b37a0fd33d [web test] fix test failures introduced by 7431:cab99ccdb774 diff -r ff6ae47bb688 -r 8e1c58a212ad devtools/testlib.py --- 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)