Gentoo Archives: gentoo-commits

From: zmedico@g.o
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:2.1.9 commit in: pym/portage/tests/dep/
Date: Fri, 04 Feb 2011 06:14:12
Message-Id: 6fcd6fa34c7842cd45830ff54d80f92eb2cc25af.zmedico@gentoo
1 commit: 6fcd6fa34c7842cd45830ff54d80f92eb2cc25af
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 4 06:03:07 2011 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 4 06:07:39 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=6fcd6fa34c7842cd45830ff54d80f92eb2cc25af
7
8 REQUIRED_USE: more display tests
9
10 ---
11 pym/portage/tests/dep/testCheckRequiredUse.py | 10 ++++++++++
12 1 files changed, 10 insertions(+), 0 deletions(-)
13
14 diff --git a/pym/portage/tests/dep/testCheckRequiredUse.py b/pym/portage/tests/dep/testCheckRequiredUse.py
15 index d6a9d0c..332c5a5 100644
16 --- a/pym/portage/tests/dep/testCheckRequiredUse.py
17 +++ b/pym/portage/tests/dep/testCheckRequiredUse.py
18 @@ -180,6 +180,16 @@ class TestCheckRequiredUse(TestCase):
19 "^^ ( ( a b c ) ( b c d ) )",
20 ["a", "b", "c", "d"],
21 "^^ ( ( a b c ) ( b c d ) )"
22 + ),
23 + (
24 + "^^ ( ( a b c ) ( b c !d ) )",
25 + ["a", "b", "c"],
26 + "^^ ( ( a b c ) ( b c !d ) )"
27 + ),
28 + (
29 + "^^ ( ( a b c ) ( b c !d ) )",
30 + ["a", "b", "c", "d"],
31 + ""
32 )
33 )
34 for required_use, use, expected in test_cases: