# HG changeset patch # User Sylvain Thénault # Date 1285231674 -7200 # Node ID 51aa84c40a71aaedf7e0562ad6c9086d969fc96e # Parent 8ca3ee849bee8d8c57a693da9ed2c12db3361f5c [test] we actually still need the set_option on base-url for multi-sources (eg repo) configuration diff -r 8ca3ee849bee -r 51aa84c40a71 devtools/testlib.py --- 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('.*'))