From: Zac Medico Date: Wed, 8 Sep 2010 21:21:26 +0000 (-0700) Subject: Use a longer dependency chain in DepcleanWithDepsTestCase, to make X-Git-Tag: v2.2_rc78 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2b3416c9556ba85bc6f9c39b916644ffa718cab1;p=portage.git Use a longer dependency chain in DepcleanWithDepsTestCase, to make sure unmerge order is correct. --- 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)