devtools/__init__.py
changeset 5466 b5af2ac0c43c
parent 5426 0d4853a6e5ee
child 5555 a64f48dd5fe4
equal deleted inserted replaced
5454:76b828dc3b9f 5466:b5af2ac0c43c
   178     cubicweb_appobject_path = TestServerConfiguration.cubicweb_appobject_path | TwistedConfiguration.cubicweb_appobject_path
   178     cubicweb_appobject_path = TestServerConfiguration.cubicweb_appobject_path | TwistedConfiguration.cubicweb_appobject_path
   179     cube_appobject_path = TestServerConfiguration.cube_appobject_path | TwistedConfiguration.cube_appobject_path
   179     cube_appobject_path = TestServerConfiguration.cube_appobject_path | TwistedConfiguration.cube_appobject_path
   180 
   180 
   181     def available_languages(self, *args):
   181     def available_languages(self, *args):
   182         return ('en', 'fr', 'de')
   182         return ('en', 'fr', 'de')
   183 
       
   184     def ext_resources_file(self):
       
   185         """return instance's external resources file"""
       
   186         return join(self.apphome, 'data', 'external_resources')
       
   187 
   183 
   188     def pyro_enabled(self):
   184     def pyro_enabled(self):
   189         # but export PYRO_MULTITHREAD=0 or you get problems with sqlite and threads
   185         # but export PYRO_MULTITHREAD=0 or you get problems with sqlite and threads
   190         return True
   186         return True
   191 
   187