web/test/unittest_application.py
changeset 9069 aff871b58ba0
parent 9065 b1cad8e4557f
child 9071 46885bfa4150
--- a/web/test/unittest_application.py	Tue Jun 25 10:46:35 2013 +0200
+++ b/web/test/unittest_application.py	Tue Jun 25 14:45:16 2013 +0200
@@ -293,19 +293,6 @@
         self.commit()
         self.assertEqual(vreg.property_value('ui.language'), 'en')
 
-    def test_fb_login_concept(self):
-        """see data/views.py"""
-        self.set_auth_mode('cookie', 'anon')
-        self.login('anon')
-        req = self.request()
-        origcnx = req.cnx
-        req.form['__fblogin'] = u'turlututu'
-        page = self.app.handle_request(req, '')
-        self.assertFalse(req.cnx is origcnx)
-        self.assertEqual(req.user.login, 'turlututu')
-        self.assertTrue('turlututu' in page, page)
-        req.cnx.close() # avoid warning
-
     # authentication tests ####################################################
 
     def test_http_auth_no_anon(self):