Add test cases for operators with missing version component.
authorZac Medico <zmedico@gentoo.org>
Tue, 8 Sep 2009 18:38:59 +0000 (18:38 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 8 Sep 2009 18:38:59 +0000 (18:38 -0000)
svn path=/main/trunk/; revision=14221

pym/portage/tests/dep/test_isvalidatom.py

index aa63ac1169a1f76b9069ad15ae732fbd63d14d6c..7e9d8c23d315c2a6a94852a785174e00f71c5dfb 100644 (file)
@@ -56,10 +56,15 @@ class IsValidAtom(TestCase):
                          ( "~portage-2.1", False ),
                          ( "=portage-2.1*", False ),
                          ( "null/portage", True ),
-                         ( "=null/portage", False ),
-                         ( "=null/portage*", False ),
                          ( "null/portage*:0", False ),
                          ( ">=null/portage-2.1", True ),
+                         ( ">=null/portage", False ),
+                         ( ">null/portage", False ),
+                         ( "=null/portage*", False ),
+                         ( "=null/portage", False ),
+                         ( "~null/portage", False ),
+                         ( "<=null/portage", False ),
+                         ( "<null/portage", False ),
                          ( "~null/portage-2.1", True ),
                          ( "=null/portage-2.1*", True ),
                          ( "null/portage-2.1*", False ),