From: Zac Medico Date: Tue, 30 Jul 2013 02:08:26 +0000 (-0700) Subject: Add test for bug #478188. X-Git-Tag: v2.2.0_alpha191~5 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=2fe14319d9143610dfdb8d1d044d7432038c857c;p=portage.git Add test for bug #478188. --- diff --git a/pym/portage/tests/resolver/test_or_choices.py b/pym/portage/tests/resolver/test_or_choices.py new file mode 100644 index 000000000..3bc67bca2 --- /dev/null +++ b/pym/portage/tests/resolver/test_or_choices.py @@ -0,0 +1,65 @@ +# Copyright 2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +from portage.tests import TestCase +from portage.tests.resolver.ResolverPlayground import (ResolverPlayground, + ResolverPlaygroundTestCase) + +class OrChoicesTestCase(TestCase): + + def testOrChoices(self): + ebuilds = { + "dev-lang/vala-0.20.0" : { + "EAPI": "5", + "SLOT": "0.20" + }, + "dev-lang/vala-0.18.0" : { + "EAPI": "5", + "SLOT": "0.18" + }, + #"dev-libs/gobject-introspection-1.36.0" : { + # "EAPI": "5", + # "RDEPEND" : "!