projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4609ce
)
add some invalid operators to the test to denote that get_operator doesn't validate...
author
Alec Warner
<antarus@gentoo.org>
Thu, 11 Jan 2007 19:28:14 +0000
(19:28 -0000)
committer
Alec Warner
<antarus@gentoo.org>
Thu, 11 Jan 2007 19:28:14 +0000
(19:28 -0000)
svn path=/main/trunk/; revision=5559
tests/portage_dep/test_get_operator.py
patch
|
blob
|
history
diff --git
a/tests/portage_dep/test_get_operator.py
b/tests/portage_dep/test_get_operator.py
index d3f5792b6f4fc87a687a393a8668aa1203221dd0..b2fa5965b3d462caaa526d4982b6d92a01d3f13f 100644
(file)
--- a/
tests/portage_dep/test_get_operator.py
+++ b/
tests/portage_dep/test_get_operator.py
@@
-10,8
+10,11
@@
class GetOperator(TestCase):
def testGetOperator(self):
+ # get_operator does not validate operators
tests = [ ( "~", "~" ), ( "=", "=" ), ( ">", ">" ),
- ( ">=", ">=" ), ( "<=", "<=" ) , ( "", None ) ]
+ ( ">=", ">=" ), ( "<=", "<=" ) , ( "", None ),
+ ( ">~", ">" ), ("~<", "~"), ( "=~", "=" ),
+ ( "=>", "=" ), ("=<", "=") ]
testCP = "sys-apps/portage"