diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-09-08 14:15:27 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-09-08 14:15:27 -0700 |
commit | 3f9b4d6af2ac3beca6711ead002f1109d673a80a (patch) | |
tree | 6cb44bf316ee441289389ef79505dd285b797f3a | |
parent | 4488d106a4da0e4e201ff74555ac55974267edbe (diff) | |
download | portage-3f9b4d6af2ac3beca6711ead002f1109d673a80a.tar.gz portage-3f9b4d6af2ac3beca6711ead002f1109d673a80a.tar.bz2 portage-3f9b4d6af2ac3beca6711ead002f1109d673a80a.zip |
Use RDEPEND for depclean tests since DEPEND is less relevant.
-rw-r--r-- | pym/portage/tests/resolver/test_depclean.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pym/portage/tests/resolver/test_depclean.py b/pym/portage/tests/resolver/test_depclean.py index 8dd014118..3d53d6476 100644 --- a/pym/portage/tests/resolver/test_depclean.py +++ b/pym/portage/tests/resolver/test_depclean.py @@ -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": {}, } |