summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/tests/resolver/test_depclean.py11
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)