devtools/testlib.py
changeset 10957 2fdf67ef3341
parent 10646 45671fb330f5
parent 10792 daef7ce08fea
equal deleted inserted replaced
10895:90c55e27aa87 10957:2fdf67ef3341
   311         self.repo = db_handler.get_repo(startup=True)
   311         self.repo = db_handler.get_repo(startup=True)
   312         # get an admin session (without actual login)
   312         # get an admin session (without actual login)
   313         login = unicode(db_handler.config.default_admin_config['login'])
   313         login = unicode(db_handler.config.default_admin_config['login'])
   314         self.admin_access = self.new_access(login)
   314         self.admin_access = self.new_access(login)
   315         self._admin_session = self.admin_access._session
   315         self._admin_session = self.admin_access._session
   316         self.config.repository = lambda x=None: self.repo
       
   317 
   316 
   318 
   317 
   319     # config management ########################################################
   318     # config management ########################################################
   320 
   319 
   321     @classproperty
   320     @classproperty