restore line dropped in 6424:f443a2b8a5c7 which is necessary to have proper base-url on test server config (used for ms tests at least) stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 11 Oct 2010 10:14:11 +0200
branchstable
changeset 6432 30bde2b7fea2
parent 6424 f443a2b8a5c7
child 6433 95c40961df21
restore line dropped in 6424:f443a2b8a5c7 which is necessary to have proper base-url on test server config (used for ms tests at least)
devtools/testlib.py
--- a/devtools/testlib.py	Fri Oct 08 15:28:51 2010 +0200
+++ b/devtools/testlib.py	Mon Oct 11 10:14:11 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('.*'))