1 |
Author: zmedico |
2 |
Date: 2008-05-31 09:35:51 +0000 (Sat, 31 May 2008) |
3 |
New Revision: 10519 |
4 |
|
5 |
Modified: |
6 |
main/trunk/pym/portage/tests/dep/test_isvalidatom.py |
7 |
Log: |
8 |
Add some isvalidatom() test cases with "null" and missing category. |
9 |
|
10 |
|
11 |
Modified: main/trunk/pym/portage/tests/dep/test_isvalidatom.py |
12 |
=================================================================== |
13 |
--- main/trunk/pym/portage/tests/dep/test_isvalidatom.py 2008-05-31 09:24:01 UTC (rev 10518) |
14 |
+++ main/trunk/pym/portage/tests/dep/test_isvalidatom.py 2008-05-31 09:35:51 UTC (rev 10519) |
15 |
@@ -31,7 +31,17 @@ |
16 |
( "<~category/foo-1.0", False ), |
17 |
( "###cat/foo-1.0", False ), |
18 |
( "~sys-apps/portage", False ), |
19 |
- ( "portage", False ) ] |
20 |
+ ( "portage", False ), |
21 |
+ ( "=portage", False ), |
22 |
+ ( ">=portage-2.1", False ), |
23 |
+ ( "~portage-2.1", False ), |
24 |
+ ( "=portage-2.1*", False ), |
25 |
+ ( "null/portage", True ), |
26 |
+ ( "=null/portage", False ), |
27 |
+ ( "=null/portage*", False ), |
28 |
+ ( ">=null/portage-2.1", True ), |
29 |
+ ( "~null/portage-2.1", True ), |
30 |
+ ( "=null/portage-2.1*", True ),] |
31 |
|
32 |
for test in tests: |
33 |
if test[1]: |
34 |
|
35 |
-- |
36 |
gentoo-commits@l.g.o mailing list |