Ejemplo n.º 1
0
 class Dummy(object):
     properties = dict(prop=1, type='fail')
     type = 'dummy'
     prop = value_property('prop', 'dummy', type='failingtype')
Ejemplo n.º 2
0
 class Dummy:
     properties = dict(prop=1, type="fail")
     type = "dummy"
     prop = value_property("prop", "dummy", type="failingtype")
Ejemplo n.º 3
0
 class Dummy(object):
     properties = dict(prop=1)
     type = 'dummy'
     prop = value_property('prop', 'dummy')
     badprop = value_property('badprop', 'big_dummy')
Ejemplo n.º 4
0
 class Dummy:
     properties = dict(prop=1)
     type = "dummy"
     prop = value_property("prop", "dummy")
     badprop = value_property("badprop", "big_dummy")