devtools/__init__.py
branchstable
changeset 7129 455b503fb7ff
parent 7112 bb27cc300040
child 7214 70538ea2532d
equal deleted inserted replaced
7128:f1fe05d5224e 7129:455b503fb7ff
     1 # copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     1 # copyright 2003-2011 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     2 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
     2 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
     3 #
     3 #
     4 # This file is part of CubicWeb.
     4 # This file is part of CubicWeb.
     5 #
     5 #
     6 # CubicWeb is free software: you can redistribute it and/or modify it under the
     6 # CubicWeb is free software: you can redistribute it and/or modify it under the
   125         repo._needs_refresh = False
   125         repo._needs_refresh = False
   126 
   126 
   127 
   127 
   128 class TestServerConfiguration(ServerConfiguration):
   128 class TestServerConfiguration(ServerConfiguration):
   129     mode = 'test'
   129     mode = 'test'
   130     set_language = False
       
   131     read_instance_schema = False
   130     read_instance_schema = False
   132     init_repository = True
   131     init_repository = True
   133 
   132 
   134     def __init__(self, appid='data', apphome=None, log_threshold=logging.CRITICAL+10):
   133     def __init__(self, appid='data', apphome=None, log_threshold=logging.CRITICAL+10):
   135         # must be set before calling parent __init__
   134         # must be set before calling parent __init__