etwist/twconfig.py
changeset 8669 62213a34726e
parent 7644 7a0914469618
child 8828 1437c47925c3
equal deleted inserted replaced
8668:4fea61c636b2 8669:62213a34726e
   113     from cubicweb.server.serverconfig import ServerConfiguration
   113     from cubicweb.server.serverconfig import ServerConfiguration
   114 
   114 
   115     class AllInOneConfiguration(TwistedConfiguration, ServerConfiguration):
   115     class AllInOneConfiguration(TwistedConfiguration, ServerConfiguration):
   116         """repository and web instance in the same twisted process"""
   116         """repository and web instance in the same twisted process"""
   117         name = 'all-in-one'
   117         name = 'all-in-one'
   118         repo_method = 'inmemory'
       
   119         options = merge_options(TwistedConfiguration.options
   118         options = merge_options(TwistedConfiguration.options
   120                                 + ServerConfiguration.options)
   119                                 + ServerConfiguration.options)
   121 
   120 
   122         cubicweb_appobject_path = TwistedConfiguration.cubicweb_appobject_path | ServerConfiguration.cubicweb_appobject_path
   121         cubicweb_appobject_path = TwistedConfiguration.cubicweb_appobject_path | ServerConfiguration.cubicweb_appobject_path
   123         cube_appobject_path = TwistedConfiguration.cube_appobject_path | ServerConfiguration.cube_appobject_path
   122         cube_appobject_path = TwistedConfiguration.cube_appobject_path | ServerConfiguration.cube_appobject_path