'return a tuple of fixture names to be used.'

def _getautousenames(self, nodeid):

    autousenames = []
    for (baseid, basenames) in self._nodeid_and_autousenames:
        if nodeid.startswith(baseid):
            if baseid:
                i = len(baseid)
                nextchar = nodeid[i:(i + 1)]
                if (nextchar and (nextchar not in ':/')):
                    continue
            autousenames.extend(basenames)
    autousenames.sort(key=(lambda x: self._arg2fixturedefs[x][(-1)].scopenum))
    return autousenames
