summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-09-08 18:38:59 +0000
committerZac Medico <zmedico@gentoo.org>2009-09-08 18:38:59 +0000
commitd58005499a735dc3d279c8c369251b523b67d3f7 (patch)
tree5f4ba73622adc8fa2373978bfcc7ec5b4c6652db
parent8a6db5954b9ea88288106f5af358e60d49f05e5a (diff)
downloadportage-d58005499a735dc3d279c8c369251b523b67d3f7.tar.gz
portage-d58005499a735dc3d279c8c369251b523b67d3f7.tar.bz2
portage-d58005499a735dc3d279c8c369251b523b67d3f7.zip
Add test cases for operators with missing version component.
svn path=/main/trunk/; revision=14221
-rw-r--r--pym/portage/tests/dep/test_isvalidatom.py9
1 files 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 ),
+ ( "<null/portage", False ),
( "~null/portage-2.1", True ),
( "=null/portage-2.1*", True ),
( "null/portage-2.1*", False ),