web/test/unittest_session.py
changeset 6367 d4c485ec1ca1
parent 6366 1806148d6ce8
child 7817 cb6174065c39
--- 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