devtools/testlib.py
changeset 6440 9d85f11983b0
parent 6435 71b2a3fe7ba1
parent 6439 fe0fb6f95ff0
child 6442 ac7126d2cd73
equal deleted inserted replaced
6437:d88be69179b8 6440:9d85f11983b0
   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