summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-02-03 22:03:07 -0800
committerZac Medico <zmedico@gentoo.org>2011-02-03 22:03:07 -0800
commit163bb043998decfbe67980e82f9545aa96515e47 (patch)
treef871a4d8f0ccc6b4a6bc31d8b4484154b1207f20
parent39fe4fcfebab8ce9406165bac511302f01a8ca0e (diff)
downloadportage-163bb043998decfbe67980e82f9545aa96515e47.tar.gz
portage-163bb043998decfbe67980e82f9545aa96515e47.tar.bz2
portage-163bb043998decfbe67980e82f9545aa96515e47.zip
REQUIRED_USE: more display tests
-rw-r--r--pym/portage/tests/dep/testCheckRequiredUse.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/pym/portage/tests/dep/testCheckRequiredUse.py b/pym/portage/tests/dep/testCheckRequiredUse.py
index d6a9d0c45..332c5a5df 100644
--- a/pym/portage/tests/dep/testCheckRequiredUse.py
+++ b/pym/portage/tests/dep/testCheckRequiredUse.py
@@ -180,6 +180,16 @@ class TestCheckRequiredUse(TestCase):
"^^ ( ( a b c ) ( b c d ) )",
["a", "b", "c", "d"],
"^^ ( ( a b c ) ( b c d ) )"
+ ),
+ (
+ "^^ ( ( a b c ) ( b c !d ) )",
+ ["a", "b", "c"],
+ "^^ ( ( a b c ) ( b c !d ) )"
+ ),
+ (
+ "^^ ( ( a b c ) ( b c !d ) )",
+ ["a", "b", "c", "d"],
+ ""
)
)
for required_use, use, expected in test_cases: