projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39172ce
)
Add more test cases.
author
Zac Medico
<zmedico@gentoo.org>
Mon, 14 Sep 2009 05:54:39 +0000
(
05:54
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 14 Sep 2009 05:54:39 +0000
(
05:54
-0000)
svn path=/main/trunk/; revision=14253
pym/portage/tests/dep/test_isvalidatom.py
patch
|
blob
|
history
diff --git
a/pym/portage/tests/dep/test_isvalidatom.py
b/pym/portage/tests/dep/test_isvalidatom.py
index 87d3d95ec6fd498ac35c4e76eecc08344d6d71bf..da91a8cfacce360251dbb18b51286d8caa49974c 100644
(file)
--- a/
pym/portage/tests/dep/test_isvalidatom.py
+++ b/
pym/portage/tests/dep/test_isvalidatom.py
@@
-70,9
+70,12
@@
class IsValidAtom(TestCase):
( "null/portage-2.1*", False ),
( "app-doc/php-docs-20071125", False),
( "app-doc/php-docs-20071125-r2", False),
+ ( "=foo/bar-1-r1-1-r1", False ),
+ ( "foo/-z-1", False ),
# These are invalid because pkg name must not end in hyphen
# followed by numbers
+ ( "=foo/bar-1-r1-1-r1", False ),
( "=foo/bar-123-1", False ),
( "=foo/bar-123-1*", False ),
( "foo/bar-123", False ),