# Copyright 2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 from portage.tests import TestCase from portage.tests.resolver.ResolverPlayground import (ResolverPlayground, ResolverPlaygroundTestCase) class SlotConflictRebuildTestCase(TestCase): def testSlotConflictRebuild(self): ebuilds = { "app-misc/A-1" : { "EAPI": "5", "SLOT": "0/1" }, "app-misc/A-2" : { "EAPI": "5", "SLOT": "0/2" }, "app-misc/B-0" : { "EAPI": "5", "DEPEND": "app-misc/A:=", "RDEPEND": "app-misc/A:=" }, "app-misc/C-0" : { "EAPI": "5", "DEPEND": "