changeset 9039 | 488255d1cf3b |
parent 9019 | e08f9c55dab5 |
child 9064 | 2e64254548ca |
--- a/web/test/unittest_application.py Mon Jun 24 12:39:25 2013 +0200 +++ b/web/test/unittest_application.py Mon Jun 24 12:41:27 2013 +0200 @@ -338,7 +338,7 @@ clear_cache(req, 'get_authorization') self.assertTrue('__login' in form) self.assertTrue('__password' in form) - self.assertEqual(req.cnx, None) + self.assertFalse(req.cnx) # Mock cnx are False req.form['__login'] = self.admlogin req.form['__password'] = self.admpassword self.assertAuthSuccess(req, origsession)