web/test/unittest_views_basecontrollers.py
branchstable
changeset 4824 b01973eff0f7
parent 4390 0285c1fa1459
child 4918 520e7fb542cf
equal deleted inserted replaced
4822:ededce6779b5 4824:b01973eff0f7
   487     def test_nonregr_embed_publish(self):
   487     def test_nonregr_embed_publish(self):
   488         # This test looks a bit stupid but at least it will probably
   488         # This test looks a bit stupid but at least it will probably
   489         # fail if the controller API changes and if EmbedController is not
   489         # fail if the controller API changes and if EmbedController is not
   490         # updated (which is what happened before this test)
   490         # updated (which is what happened before this test)
   491         req = self.request()
   491         req = self.request()
   492         req.form['url'] = 'http://intranet.logilab.fr/'
   492         req.form['url'] = 'http://www.logilab.fr/'
   493         controller = self.vreg['controllers'].select('embed', req)
   493         controller = self.vreg['controllers'].select('embed', req)
   494         result = controller.publish(rset=None)
   494         result = controller.publish(rset=None)
   495 
   495 
   496 
   496 
   497 class ReportBugControllerTC(CubicWebTC):
   497 class ReportBugControllerTC(CubicWebTC):