REQUIRED_USE: test unsatisfied without USE dep v2.1.9.29
authorZac Medico <zmedico@gentoo.org>
Wed, 5 Jan 2011 01:26:22 +0000 (17:26 -0800)
committerZac Medico <zmedico@gentoo.org>
Wed, 5 Jan 2011 01:27:51 +0000 (17:27 -0800)
pym/portage/tests/resolver/test_autounmask.py

index 50ad85e908904e34d1bddf50c9c8a3176c81e0e7..4100fbdcf7f75bff00e0badc2796c5684bbd14df 100644 (file)
@@ -47,6 +47,7 @@ class AutounmaskTestCase(TestCase):
                        "app-portage/A-2": { "DEPEND": "app-portage/B[foo=]", "IUSE": "+foo", "REQUIRED_USE": "foo", "EAPI": "4" }, 
 
                        "app-portage/B-1": { "IUSE": "foo +bar", "REQUIRED_USE": "^^ ( foo bar )", "EAPI": "4" }, 
+                       "app-portage/C-1": { "IUSE": "+foo +bar", "REQUIRED_USE": "^^ ( foo bar )", "EAPI": "4" },
                        }
 
                test_cases = (
@@ -179,6 +180,11 @@ class AutounmaskTestCase(TestCase):
                                        options = { "--autounmask": True },
                                        use_changes = None,
                                        success = False),
+                               ResolverPlaygroundTestCase(
+                                       ["=app-portage/C-1"],
+                                       options = { "--autounmask": True },
+                                       use_changes = None,
+                                       success = False),
                        )
 
                playground = ResolverPlayground(ebuilds=ebuilds)