these will fail now
authorAlec Warner <antarus@gentoo.org>
Mon, 5 Mar 2007 04:10:58 +0000 (04:10 -0000)
committerAlec Warner <antarus@gentoo.org>
Mon, 5 Mar 2007 04:10:58 +0000 (04:10 -0000)
svn path=/main/trunk/; revision=6178

pym/portage/tests/dep/test_isvalidatom.py

index 054205eb9b7e689facc4a84fe17ecad0f726c832..995ec9924e4504642033444ef890fe9e12bebf29 100644 (file)
@@ -22,11 +22,12 @@ class IsValidAtom(TestCase):
                          ( ">sys-apps/portage-2.1", True ),
                          ( "<sys-apps/portage-2.1", True ),
                          ( "~sys-apps/portage-2.1", True ),
+                         ( "sys-apps/portage:foo", True ),
                          ( "sys-apps/portage-2.1:foo", False ),
                          ( "sys-apps/portage-2.1:", False ),
-                         ( ">~cate-gory/foo-1.0", False ),
-                         ( ">~category/foo-1.0", False ),
-                         ( "<~category/foo-1.0", False ),
+                         ( ">~cate-gory/foo-1.0", True ),
+                         ( ">~category/foo-1.0", True ),
+                         ( "<~category/foo-1.0", True ),
                          ( "###cat/foo-1.0", False ),
                          ( "~sys-apps/portage", False ),
                          ( "portage", False ) ]