From: Zac Medico Date: Tue, 8 Sep 2009 18:38:59 +0000 (-0000) Subject: Add test cases for operators with missing version component. X-Git-Tag: v2.2_rc41~47 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d58005499a735dc3d279c8c369251b523b67d3f7;p=portage.git Add test cases for operators with missing version component. svn path=/main/trunk/; revision=14221 --- diff --git a/pym/portage/tests/dep/test_isvalidatom.py b/pym/portage/tests/dep/test_isvalidatom.py index aa63ac116..7e9d8c23d 100644 --- a/pym/portage/tests/dep/test_isvalidatom.py +++ b/pym/portage/tests/dep/test_isvalidatom.py @@ -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 ), + ( "