[test] we must consider default_base_url() stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 11 Oct 2010 12:27:17 +0200
branchstable
changeset 6439 fe0fb6f95ff0
parent 6438 abae10f81a85
child 6440 9d85f11983b0
child 6441 adbce42ff1b5
[test] we must consider default_base_url()
devtools/testlib.py
--- 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('.*'))