diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-09-14 05:54:39 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-09-14 05:54:39 +0000 |
commit | a0c41d09a875e925e52bce2fc1f3a892f5d546ae (patch) | |
tree | 9b2f23e22139d8d41db52995660b5b23ac77abbf | |
parent | 39172ce852a3b74ff00cf8d6566c6280be3202ae (diff) | |
download | portage-a0c41d09a875e925e52bce2fc1f3a892f5d546ae.tar.gz portage-a0c41d09a875e925e52bce2fc1f3a892f5d546ae.tar.bz2 portage-a0c41d09a875e925e52bce2fc1f3a892f5d546ae.zip |
Add more test cases.
svn path=/main/trunk/; revision=14253
-rw-r--r-- | pym/portage/tests/dep/test_isvalidatom.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pym/portage/tests/dep/test_isvalidatom.py b/pym/portage/tests/dep/test_isvalidatom.py index 87d3d95ec..da91a8cfa 100644 --- 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 ), |