REQUIRED_USE: more display tests
authorZac Medico <zmedico@gentoo.org>
Fri, 4 Feb 2011 06:03:07 +0000 (22:03 -0800)
committerZac Medico <zmedico@gentoo.org>
Fri, 4 Feb 2011 06:07:39 +0000 (22:07 -0800)
pym/portage/tests/dep/testCheckRequiredUse.py

index d6a9d0c451b3b2458fc104250a2e84ddf2f9da2f..332c5a5df9d108dc670fc79ca5234c7ed33e4943 100644 (file)
@@ -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: