diff options
-rw-r--r-- | pym/portage/tests/dep/test_isvalidatom.py | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/pym/portage/tests/dep/test_isvalidatom.py b/pym/portage/tests/dep/test_isvalidatom.py index 2b99b3dcb..dfcf17898 100644 --- a/pym/portage/tests/dep/test_isvalidatom.py +++ b/pym/portage/tests/dep/test_isvalidatom.py @@ -31,7 +31,17 @@ class IsValidAtom(TestCase): ( "<~category/foo-1.0", False ), ( "###cat/foo-1.0", False ), ( "~sys-apps/portage", False ), - ( "portage", False ) ] + ( "portage", False ), + ( "=portage", False ), + ( ">=portage-2.1", False ), + ( "~portage-2.1", False ), + ( "=portage-2.1*", False ), + ( "null/portage", True ), + ( "=null/portage", False ), + ( "=null/portage*", False ), + ( ">=null/portage-2.1", True ), + ( "~null/portage-2.1", True ), + ( "=null/portage-2.1*", True ),] for test in tests: if test[1]: |