Use RDEPEND for depclean tests since DEPEND is less relevant.
authorZac Medico <zmedico@gentoo.org>
Wed, 8 Sep 2010 21:15:27 +0000 (14:15 -0700)
committerZac Medico <zmedico@gentoo.org>
Wed, 8 Sep 2010 21:15:27 +0000 (14:15 -0700)
pym/portage/tests/resolver/test_depclean.py

index 8dd0141181767c0851ca71b204b9c5631731203c..3d53d647616000ba85e3135838694f6180ad9041 100644 (file)
@@ -40,14 +40,14 @@ class DepcleanWithDepsTestCase(TestCase):
 
        def testDepcleanWithDeps(self):
                ebuilds = {
-                       "dev-libs/A-1": { "DEPEND": "dev-libs/C" },
-                       "dev-libs/B-1": { "DEPEND": "dev-libs/D" },
+                       "dev-libs/A-1": { "RDEPEND": "dev-libs/C" },
+                       "dev-libs/B-1": { "RDEPEND": "dev-libs/D" },
                        "dev-libs/C-1": {},
                        "dev-libs/D-1": {},
                        }
                installed = {
-                       "dev-libs/A-1": { "DEPEND": "dev-libs/C" },
-                       "dev-libs/B-1": { "DEPEND": "dev-libs/D" },
+                       "dev-libs/A-1": { "RDEPEND": "dev-libs/C" },
+                       "dev-libs/B-1": { "RDEPEND": "dev-libs/D" },
                        "dev-libs/C-1": {},
                        "dev-libs/D-1": {},
                        }
@@ -82,12 +82,12 @@ class DepcleanWithInstalledMaskedTestCase(TestCase):
                The next emerge -uDN world doesn't take B and installs C again.
                """
                ebuilds = {
-                       "dev-libs/A-1": { "DEPEND": "|| ( dev-libs/B dev-libs/C )" },
+                       "dev-libs/A-1": { "RDEPEND": "|| ( dev-libs/B dev-libs/C )" },
                        "dev-libs/B-1": { "LICENSE": "TEST" },
                        "dev-libs/C-1": {},
                        }
                installed = {
-                       "dev-libs/A-1": { "DEPEND": "|| ( dev-libs/B dev-libs/C )" },
+                       "dev-libs/A-1": { "RDEPEND": "|| ( dev-libs/B dev-libs/C )" },
                        "dev-libs/B-1": { "LICENSE": "TEST" },
                        "dev-libs/C-1": {},
                        }