cubicweb/devtools/testlib.py
changeset 11129 97095348b3ee
parent 11075 881b3d9ee2b3
parent 11086 c9641ee0b652
child 11165 c6fe858f6b90
equal deleted inserted replaced
11128:9b4de34ad394 11129:97095348b3ee
   316     @property
   316     @property
   317     def session(self):
   317     def session(self):
   318         """return admin session"""
   318         """return admin session"""
   319         return self._admin_session
   319         return self._admin_session
   320 
   320 
   321     # XXX this doesn't need to a be classmethod anymore
       
   322     def _init_repo(self):
   321     def _init_repo(self):
   323         """init the repository and connection to it.
   322         """init the repository and connection to it.
   324         """
   323         """
   325         # get or restore and working db.
   324         # get or restore and working db.
   326         db_handler = devtools.get_test_db_handler(self.config, self.init_config)
   325         db_handler = devtools.get_test_db_handler(self.config, self.init_config)