From: Zac Medico Date: Fri, 15 Oct 2010 09:33:04 +0000 (-0700) Subject: use_reduce: Add more tests. X-Git-Tag: v2.1.9.19~7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=750303b396ed65c8e580af26c4102a4876f00662;p=portage.git use_reduce: Add more tests. --- diff --git a/pym/portage/tests/dep/test_use_reduce.py b/pym/portage/tests/dep/test_use_reduce.py index 32a9e50d5..938e8a749 100644 --- a/pym/portage/tests/dep/test_use_reduce.py +++ b/pym/portage/tests/dep/test_use_reduce.py @@ -226,7 +226,13 @@ class UseReduce(TestCase): "foo? ( A ) foo? ( B )", uselist = ["foo"], expected_result = ["A", "B"]), - + UseReduceTestCase( + "|| ( A B ) C", + expected_result = ['||', ['A', 'B'], 'C']), + UseReduceTestCase( + "A || ( B C )", + expected_result = ['A', '||', ['B', 'C']]), + #SRC_URI stuff UseReduceTestCase( "http://foo/bar -> blah.tbz2",