devtools/testlib.py
branchstable
changeset 6439 fe0fb6f95ff0
parent 6432 30bde2b7fea2
child 6440 9d85f11983b0
child 6441 adbce42ff1b5
--- 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('.*'))