diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-05-17 13:33:10 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-05-17 13:33:10 -0700 |
commit | 82da4172fbd61106e3c960cb67aae7b02e27c13a (patch) | |
tree | 689f27f59c0f4e4e977f751aa75a9a834aca1941 | |
parent | 81ceaa60ee0033c7f7cf1db6f9c80b96cadb6833 (diff) | |
download | portage-82da4172fbd61106e3c960cb67aae7b02e27c13a.tar.gz portage-82da4172fbd61106e3c960cb67aae7b02e27c13a.tar.bz2 portage-82da4172fbd61106e3c960cb67aae7b02e27c13a.zip |
test_autounmask: test missing keyword
-rw-r--r-- | pym/portage/tests/resolver/test_autounmask.py | 10 |
1 files changed, 9 insertions, 1 deletions
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 = { |