summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authormakkalot <makkalot@gmail.com>2008-06-20 00:02:18 +0300
committermakkalot <makkalot@gmail.com>2008-06-20 00:02:18 +0300
commit5556eb2c218931dcb6f8c5a004eb9b9902cc10e8 (patch)
tree91fdb689df4dd372bde3379c2ccea1cbc79def6f /test
parentbbc22ea440ae543e18dba21d96313bc658efaa29 (diff)
downloadthird_party-func-5556eb2c218931dcb6f8c5a004eb9b9902cc10e8.tar.gz
third_party-func-5556eb2c218931dcb6f8c5a004eb9b9902cc10e8.tar.xz
third_party-func-5556eb2c218931dcb6f8c5a004eb9b9902cc10e8.zip
if there is a options keyword in args the others should be there there is no sense
Diffstat (limited to 'test')
-rw-r--r--test/unittest/test_func_arg.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/test/unittest/test_func_arg.py b/test/unittest/test_func_arg.py
index 92a4b41..f22861a 100644
--- a/test/unittest/test_func_arg.py
+++ b/test/unittest/test_func_arg.py
@@ -72,13 +72,20 @@ class TestArgCompatibility:
'platform':{
'type':'string',
- 'min_length':4,
- 'max_length':33,
'options':["fedora","redhat","ubuntu"],
'description':"Hey im a fedora fan",
'default':'fedora8',
},
+ 'platform2':{
+ 'type':'string',
+ 'min_length':4,
+ 'max_length':33,
+ 'description':"Hey im a fedora fan",
+ 'default':'fedora8',
+ },
+
+
'is_independent':{
'type':'boolean',
'default' :False,