From d58005499a735dc3d279c8c369251b523b67d3f7 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 8 Sep 2009 18:38:59 +0000 Subject: [PATCH] Add test cases for operators with missing version component. svn path=/main/trunk/; revision=14221 --- pym/portage/tests/dep/test_isvalidatom.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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 ), + ( "