예제 #1
0
 class Dummy(object):
     properties = dict(prop=1, type='fail')
     type = 'dummy'
     prop = value_property('prop', 'dummy', type='failingtype')
예제 #2
0
 class Dummy:
     properties = dict(prop=1, type="fail")
     type = "dummy"
     prop = value_property("prop", "dummy", type="failingtype")
예제 #3
0
 class Dummy(object):
     properties = dict(prop=1)
     type = 'dummy'
     prop = value_property('prop', 'dummy')
     badprop = value_property('badprop', 'big_dummy')
예제 #4
0
 class Dummy:
     properties = dict(prop=1)
     type = "dummy"
     prop = value_property("prop", "dummy")
     badprop = value_property("badprop", "big_dummy")