def testMultipleFlavorsInstalled(self):
        db = sqldb.Database(':memory:')
        flavor1 = deps.parseFlavor('is:x86(cmov)')
        flavor2 = deps.parseFlavor('is:x86(sse)')
        trv1 = trove.Trove("testcomp", self.v10, flavor1, None)
        trv2 = trove.Trove("testcomp", self.v10, flavor2, None)
        ti = db.addTrove(trv1)
        db.addTroveDone(ti)
        ti = db.addTrove(trv2)
        db.addTroveDone(ti)
        assert([ x for x in db.iterVersionByName('testcomp', False) ] == [ self.v10 ])
        assert([ x for x in db.iterVersionByName('testcomp', True) ] == 
                                    [ (self.v10, flavor1), (self.v10, flavor2) ])
verify that only one (unique) flavor is returned from
dataset/ETHPy150Open sassoftware/conary/conary_test/localtest/sqldbtest.py/SqlDB.testMultipleFlavorsInstalled