diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-09-08 14:21:26 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-09-08 14:21:26 -0700 |
commit | 2b3416c9556ba85bc6f9c39b916644ffa718cab1 (patch) | |
tree | fbcc5eaaa26bfaaaa7d010887a8783a108654663 | |
parent | 3f9b4d6af2ac3beca6711ead002f1109d673a80a (diff) | |
download | portage-2b3416c9556ba85bc6f9c39b916644ffa718cab1.tar.gz portage-2b3416c9556ba85bc6f9c39b916644ffa718cab1.tar.bz2 portage-2b3416c9556ba85bc6f9c39b916644ffa718cab1.zip |
Use a longer dependency chain in DepcleanWithDepsTestCase, to makev2.2_rc78
sure unmerge order is correct.
-rw-r--r-- | pym/portage/tests/resolver/test_depclean.py | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/pym/portage/tests/resolver/test_depclean.py b/pym/portage/tests/resolver/test_depclean.py index 3d53d6476..89e7a8aa3 100644 --- a/pym/portage/tests/resolver/test_depclean.py +++ b/pym/portage/tests/resolver/test_depclean.py @@ -43,13 +43,17 @@ class DepcleanWithDepsTestCase(TestCase): "dev-libs/A-1": { "RDEPEND": "dev-libs/C" }, "dev-libs/B-1": { "RDEPEND": "dev-libs/D" }, "dev-libs/C-1": {}, - "dev-libs/D-1": {}, + "dev-libs/D-1": { "RDEPEND": "dev-libs/E" }, + "dev-libs/E-1": { "RDEPEND": "dev-libs/F" }, + "dev-libs/F-1": {}, } installed = { "dev-libs/A-1": { "RDEPEND": "dev-libs/C" }, "dev-libs/B-1": { "RDEPEND": "dev-libs/D" }, "dev-libs/C-1": {}, - "dev-libs/D-1": {}, + "dev-libs/D-1": { "RDEPEND": "dev-libs/E" }, + "dev-libs/E-1": { "RDEPEND": "dev-libs/F" }, + "dev-libs/F-1": {}, } world = ( @@ -61,7 +65,8 @@ class DepcleanWithDepsTestCase(TestCase): [], options = {"--depclean": True}, success = True, - cleanlist = ["dev-libs/B-1", "dev-libs/D-1"]), + cleanlist = ["dev-libs/B-1", "dev-libs/D-1", + "dev-libs/E-1", "dev-libs/F-1"]), ) playground = ResolverPlayground(ebuilds=ebuilds, installed=installed, world=world) |