@property
def ibs(testres):
    ibs_list = []
    for qreq_ in testres.cfgx2_qreq_:
        try:
            ibs_list.append(qreq_.ibs)
        except AttributeError:
            ibs_list.append(qreq_.depc.controller)
    ibs = ibs_list[0]
    for ibs_ in ibs_list:
        assert (ibs.get_dbdir() == ibs_.get_dbdir()), 'all requests must use the same database'
    return ibs
@property
def ibs(testres):
    ibs_list = []
    for qreq_ in testres.cfgx2_qreq_:
        try:
            ibs_list.append(qreq_.ibs)
        except AttributeError:
            ibs_list.append(qreq_.depc.controller)
    ibs = ibs_list[0]
    for ibs_ in ibs_list:
        assert (ibs.get_dbdir() == ibs_.get_dbdir()), 'all requests must use the same database'
    return ibs