equal
deleted
inserted
replaced
230 config.global_set_option('sender-addr', send_to) |
230 config.global_set_option('sender-addr', send_to) |
231 config.global_set_option('default-dest-addrs', send_to) |
231 config.global_set_option('default-dest-addrs', send_to) |
232 config.global_set_option('sender-name', 'cubicweb-test') |
232 config.global_set_option('sender-name', 'cubicweb-test') |
233 config.global_set_option('sender-addr', 'cubicweb-test@logilab.fr') |
233 config.global_set_option('sender-addr', 'cubicweb-test@logilab.fr') |
234 # default_base_url on config class isn't enough for TestServerConfiguration |
234 # default_base_url on config class isn't enough for TestServerConfiguration |
235 config.global_set_option('base-url', BASE_URL) |
235 config.global_set_option('base-url', config.default_base_url()) |
236 # web resources |
236 # web resources |
237 try: |
237 try: |
238 config.global_set_option('embed-allowed', re.compile('.*')) |
238 config.global_set_option('embed-allowed', re.compile('.*')) |
239 except: # not in server only configuration |
239 except: # not in server only configuration |
240 pass |
240 pass |