--- a/devtools/testlib.py Mon Oct 11 12:26:50 2010 +0200
+++ b/devtools/testlib.py Mon Oct 11 12:27:17 2010 +0200
@@ -232,7 +232,7 @@
config.global_set_option('sender-name', 'cubicweb-test')
config.global_set_option('sender-addr', 'cubicweb-test@logilab.fr')
# default_base_url on config class isn't enough for TestServerConfiguration
- config.global_set_option('base-url', BASE_URL)
+ config.global_set_option('base-url', config.default_base_url())
# web resources
try:
config.global_set_option('embed-allowed', re.compile('.*'))