Add non-working use_reduce tests.
authorZac Medico <zmedico@gentoo.org>
Thu, 14 Oct 2010 19:03:30 +0000 (12:03 -0700)
committerZac Medico <zmedico@gentoo.org>
Thu, 14 Oct 2010 19:03:30 +0000 (12:03 -0700)
pym/portage/tests/dep/test_use_reduce.py

index ac7b585be1f973ac19d3d1a0929fff766de0e88a..5fd5034cd1c51282ba88eeae18b75aa7978d5774 100644 (file)
@@ -348,6 +348,20 @@ class UseReduce(TestCase):
                                opconvert = True,
                                expected_result = ["||", "A", "B"]),
 
+                       # [['||', ['A', 'B'], '||', 'C', 'D']] != ['||', ['A', 'B'], 'C', 'D']
+                       #UseReduceTestCase(
+                       #       "|| ( ( A B ) foo? ( || ( C D ) ) )",
+                       #       uselist = ["foo"],
+                       #       opconvert = True,
+                       #       expected_result = ['||', ['A', 'B'], 'C', 'D']),
+
+                       # ['||', [['A', 'B'], '||', ['C', 'D']]] != ['||', [['A', 'B'], 'C', 'D']]
+                       #UseReduceTestCase(
+                       #       "|| ( ( A B ) foo? ( || ( C D ) ) )",
+                       #       uselist = ["foo"],
+                       #       opconvert = False,
+                       #       expected_result = ['||', [['A', 'B'], 'C', 'D']]),
+
                        #flat test
                        UseReduceTestCase(
                                "A",