From 2fe14319d9143610dfdb8d1d044d7432038c857c Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 29 Jul 2013 19:08:26 -0700 Subject: [PATCH] Add test for bug #478188. --- pym/portage/tests/resolver/test_or_choices.py | 65 +++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 pym/portage/tests/resolver/test_or_choices.py 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" : "!