REQUIRED_USE: test unsatisfied without USE dep v2.2.0_alpha13
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:26:22 +0000 (17:26 -0800)
pym/portage/tests/resolver/test_autounmask.py

index e58a64375fd1539d5a5a28a8464a0809bb662e7e..9e50be7ed94d8a622b9e9e839f017ec05240df0e 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)