diff -r 1806148d6ce8 -r d4c485ec1ca1 web/test/unittest_session.py --- a/web/test/unittest_session.py Wed Sep 29 16:16:32 2010 +0200 +++ b/web/test/unittest_session.py Wed Sep 29 16:46:47 2010 +0200 @@ -24,16 +24,8 @@ # fake an incoming http query with sessionid in session cookie # don't use self.request() which try to call req.set_session req = self.requestcls(self.vreg) -<<<<<<< /home/syt/src/fcubicweb/cubicweb/web/test/unittest_session.py self.assertRaises(InvalidSession, sm.get_session, req, sessionid) - self.assertEquals(len(sm._sessions), 0) -======= - websession = sm.get_session(req, sessionid) - self.assertEqual(len(sm._sessions), 1) - self.assertIs(websession, self.websession) - self.assertEqual(websession.sessionid, sessionid) - self.assertNotEquals(websession.sessionid, websession.cnx.sessionid) ->>>>>>> /tmp/unittest_session.py~other.sGNH8u + self.assertEqual(len(sm._sessions), 0) finally: # avoid error in tearDown by telling this connection is closed... self.cnx._closed = True