DepcleanWithInstalledMasked: fix breakage
authorZac Medico <zmedico@gentoo.org>
Sun, 2 Jan 2011 23:13:46 +0000 (15:13 -0800)
committerZac Medico <zmedico@gentoo.org>
Sun, 2 Jan 2011 23:13:46 +0000 (15:13 -0800)
An assumption about KEYWORDS masking behavior for installed packages
was broken by commit b7de3d1fb10e40b4ef03462f8a145968689ac587.

pym/portage/tests/resolver/test_depclean.py

index f3ff62f56a8ebe066df1acdd34689f1fbe853b69..5810d22ba2b769cd213b3ac2499c872910decc5c 100644 (file)
@@ -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 = (