From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PlkcO-0000Fc-BP for garchives@archives.gentoo.org; Sat, 05 Feb 2011 16:04:13 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D650BE08A2; Sat, 5 Feb 2011 16:04:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id A5669E08A2 for ; Sat, 5 Feb 2011 16:04:04 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1AF871B4081 for ; Sat, 5 Feb 2011 16:04:04 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 968A280079 for ; Sat, 5 Feb 2011 12:25:04 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <163bb043998decfbe67980e82f9545aa96515e47.grobian@gentoo> Subject: [gentoo-commits] proj/portage:prefix commit in: pym/portage/tests/dep/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/tests/dep/testCheckRequiredUse.py X-VCS-Directories: pym/portage/tests/dep/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 163bb043998decfbe67980e82f9545aa96515e47 Date: Sat, 5 Feb 2011 12:25:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 6d4d9a97cff943b29056ad3a8a0d1bd7 commit: 163bb043998decfbe67980e82f9545aa96515e47 Author: Zac Medico gentoo org> AuthorDate: Fri Feb 4 06:03:07 2011 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Fri Feb 4 06:03:07 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3D163bb043 REQUIRED_USE: more display tests --- pym/portage/tests/dep/testCheckRequiredUse.py | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/pym/portage/tests/dep/testCheckRequiredUse.py b/pym/portage/= tests/dep/testCheckRequiredUse.py index d6a9d0c..332c5a5 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: