diff -r 805a257709f6 -r 48ef505aa9f9 test/unittest_req.py --- a/test/unittest_req.py Thu Mar 15 17:30:28 2012 +0100 +++ b/test/unittest_req.py Mon Feb 27 15:24:14 2012 +0100 @@ -36,7 +36,7 @@ req = RequestSessionBase(None) req.from_controller = lambda : 'view' req.relative_path = lambda includeparams=True: None - req.base_url = lambda : 'http://testing.fr/cubicweb/' + req.base_url = lambda secure=None: 'http://testing.fr/cubicweb/' self.assertEqual(req.build_url(), u'http://testing.fr/cubicweb/view') self.assertEqual(req.build_url(None), u'http://testing.fr/cubicweb/view') self.assertEqual(req.build_url('one'), u'http://testing.fr/cubicweb/one')