summaryrefslogtreecommitdiffstats
path: root/pym
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:07:39 -0800
commit6fcd6fa34c7842cd45830ff54d80f92eb2cc25af (patch)
tree911d7eb952bce8e553abaa660d8b4725f5b94f37 /pym
parent99e44795c9fcbdd9c5630b9b8fe0ebff8322fd68 (diff)
downloadportage-6fcd6fa34c7842cd45830ff54d80f92eb2cc25af.tar.gz
portage-6fcd6fa34c7842cd45830ff54d80f92eb2cc25af.tar.bz2
portage-6fcd6fa34c7842cd45830ff54d80f92eb2cc25af.zip
REQUIRED_USE: more display tests
Diffstat (limited to 'pym')
-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: