'Generate all test items from a collection node.
This recurses into the collection node and returns a list of
all the test items contained within.'

def genitems(self, colitems):

    session = colitems[0].session
    result = []
    for colitem in colitems:
        result.extend(session.genitems(colitem))
    return result
