Changeset 454

Show
Ignore:
Timestamp:
08/24/10 16:32:05 (21 months ago)
Author:
emuller
Message:

Don't expect this to run ...

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/parameter_set_schema_validation/test/test_validators.py

    r450 r454  
    4444                    'mydict': {'c': 3, 'd':4}, 'yourlist': [1,2,{'e':5, 'f':6}], 
    4545                    }, label="PS3") 
     46 
     47schema3 = ParameterSchema({'mylist': NeuroTools.parameters.validators.Subclass(type=list),  
     48                           'true': NeuroTools.parameters.validators.Subclass(type=bool),  
     49                           'yourlist': NeuroTools.parameters.validators.Subclass(type=list),  
     50                           'ps2': {'ps.a': NeuroTools.parameters.validators.Subclass(type=int),  
     51                                   'c': NeuroTools.parameters.validators.Subclass(type=int),  
     52                                   'ps.b': NeuroTools.parameters.validators.Subclass(type=int)}, 'null': NeuroTools.parameters.validators.Subclass(type=NoneType), 'mydict': {'c': NeuroTools.parameters.validators.Subclass(type=int), 'd': NeuroTools.parameters.validators.Subclass(type=int)}, 'hello': NeuroTools.parameters.validators.Subclass(type=str)} 
     53 
    4654 
    4755class ParameterSchemeTest(unittest.TestCase):