From: Zac Medico Date: Sun, 2 Jan 2011 23:13:46 +0000 (-0800) Subject: DepcleanWithInstalledMasked: fix breakage X-Git-Tag: v2.1.9.28~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=32df8307959ade208c2bac2d8a9075767a7812a4;p=portage.git DepcleanWithInstalledMasked: fix breakage An assumption about KEYWORDS masking behavior for installed packages was broken by commit b7de3d1fb10e40b4ef03462f8a145968689ac587. --- diff --git a/pym/portage/tests/resolver/test_depclean.py b/pym/portage/tests/resolver/test_depclean.py index f3ff62f56..5810d22ba 100644 --- a/pym/portage/tests/resolver/test_depclean.py +++ b/pym/portage/tests/resolver/test_depclean.py @@ -88,13 +88,13 @@ class DepcleanWithInstalledMaskedTestCase(TestCase): """ ebuilds = { "dev-libs/A-1": { "RDEPEND": "|| ( dev-libs/B dev-libs/C )" }, - "dev-libs/B-1": { "LICENSE": "TEST" }, - "dev-libs/C-1": {}, + "dev-libs/B-1": { "LICENSE": "TEST", "KEYWORDS": "x86" }, + "dev-libs/C-1": { "KEYWORDS": "x86" }, } installed = { "dev-libs/A-1": { "RDEPEND": "|| ( dev-libs/B dev-libs/C )" }, - "dev-libs/B-1": { "LICENSE": "TEST" }, - "dev-libs/C-1": {}, + "dev-libs/B-1": { "LICENSE": "TEST", "KEYWORDS": "x86" }, + "dev-libs/C-1": { "KEYWORDS": "x86" }, } world = (