[test] we actually still need the set_option on base-url for multi-sources (eg repo) configuration
--- a/devtools/testlib.py Thu Sep 23 10:46:59 2010 +0200
+++ b/devtools/testlib.py Thu Sep 23 10:47:54 2010 +0200
@@ -46,7 +46,7 @@
from cubicweb.web import Redirect, application
from cubicweb.server.session import security_enabled
from cubicweb.devtools import SYSTEM_ENTITIES, SYSTEM_RELATIONS, VIEW_VALIDATORS
-from cubicweb.devtools import fake, htmlparser
+from cubicweb.devtools import BASE_URL, fake, htmlparser
from cubicweb.utils import json
# low-level utilities ##########################################################
@@ -225,6 +225,7 @@
config.global_set_option('default-dest-addrs', send_to)
config.global_set_option('sender-name', 'cubicweb-test')
config.global_set_option('sender-addr', 'cubicweb-test@logilab.fr')
+ config.global_set_option('base-url', BASE_URL)
# web resources
try:
config.global_set_option('embed-allowed', re.compile('.*'))