devtools/testlib.py
changeset 6435 71b2a3fe7ba1
parent 6427 c8a5ac2d1eaa
parent 6432 30bde2b7fea2
child 6440 9d85f11983b0
--- a/devtools/testlib.py	Mon Oct 11 09:17:54 2010 +0200
+++ b/devtools/testlib.py	Mon Oct 11 11:02:27 2010 +0200
@@ -231,7 +231,8 @@
         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')
-        
+        # default_base_url on config class isn't enough for TestServerConfiguration
+        config.global_set_option('base-url', BASE_URL)
         # web resources
         try:
             config.global_set_option('embed-allowed', re.compile('.*'))