devtools/testlib.py
branchstable
changeset 4681 5f72584ab1d7
parent 4523 d8127c2bd6b5
child 4689 4eb1f4490538
equal deleted inserted replaced
4680:8a6bee838464 4681:5f72584ab1d7
    69 def get_versions(self, checkversions=False):
    69 def get_versions(self, checkversions=False):
    70     """return the a dictionary containing cubes used by this instance
    70     """return the a dictionary containing cubes used by this instance
    71     as key with their version as value, including cubicweb version. This is a
    71     as key with their version as value, including cubicweb version. This is a
    72     public method, not requiring a session id.
    72     public method, not requiring a session id.
    73 
    73 
    74     replace Repository.get_versions by this method if you don't want versions
    74     replace Repository.get_versions by this method if you want to get versions
    75     checking
    75     from code instead of from the database
    76     """
    76     """
    77     vcconf = {'cubicweb': self.config.cubicweb_version()}
    77     vcconf = {'cubicweb': self.config.cubicweb_version()}
    78     self.config.bootstrap_cubes()
    78     self.config.bootstrap_cubes()
    79     for pk in self.config.cubes():
    79     for pk in self.config.cubes():
    80         version = self.config.cube_version(pk)
    80         version = self.config.cube_version(pk)