equal
deleted
inserted
replaced
445 def get_cubes(self): |
445 def get_cubes(self): |
446 """return the list of cubes used by this instance. This is a |
446 """return the list of cubes used by this instance. This is a |
447 public method, not requiring a session id. |
447 public method, not requiring a session id. |
448 """ |
448 """ |
449 versions = self.get_versions(not (self.config.creating |
449 versions = self.get_versions(not (self.config.creating |
450 or self.config.repairing)) |
450 or self.config.repairing |
|
451 or self.config.mode == 'test')) |
451 cubes = list(versions) |
452 cubes = list(versions) |
452 cubes.remove('cubicweb') |
453 cubes.remove('cubicweb') |
453 return cubes |
454 return cubes |
454 |
455 |
455 @cached |
456 @cached |