From: Zac Medico Date: Tue, 17 May 2011 20:33:10 +0000 (-0700) Subject: test_autounmask: test missing keyword X-Git-Tag: v2.2.0_alpha34~16 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=82da4172fbd61106e3c960cb67aae7b02e27c13a;p=portage.git test_autounmask: test missing keyword --- diff --git a/pym/portage/tests/resolver/test_autounmask.py b/pym/portage/tests/resolver/test_autounmask.py index 6ffdaaf59..54c435f56 100644 --- a/pym/portage/tests/resolver/test_autounmask.py +++ b/pym/portage/tests/resolver/test_autounmask.py @@ -232,12 +232,20 @@ class AutounmaskTestCase(TestCase): mergelist = ["app-text/C-1"], unstable_keywords = ["app-text/C-1"], needed_p_mask_changes = ["app-text/C-1"]), + #Make sure unstable keyword is preferred over missing keyword ResolverPlaygroundTestCase( ["app-text/D"], options = {"--autounmask": True}, success = False, mergelist = ["app-text/D-1"], - unstable_keywords = ["app-text/D-1"]) + unstable_keywords = ["app-text/D-1"]), + #Test missing keyword + ResolverPlaygroundTestCase( + ["=app-text/D-2"], + options = {"--autounmask": True}, + success = False, + mergelist = ["app-text/D-2"], + unstable_keywords = ["app-text/D-2"]) ) profile = {