Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: Cédric Krier <ced@b2ck.com>
This commit is contained in:
1 parent
c2b3d6cc66
commit
77cf224b2f
1 file changed
+4
-1
@@ -275,7 +275,10 @@ class FieldDependsTestCase(TestCase):
|
||||
bar = fields.Char("Bar")
|
||||
baz = fields.Function(fields.Char("Baz"))
|
||||
|
||||
@fields.depends('foo', 'baz')
|
||||
@fields.depends(
|
||||
'foo', # with a getter
|
||||
'baz', # without getter
|
||||
)
|
||||
def on_change_test(self):
|
||||
pass
|
||||
|
||||
|
||||
Reference in new issue
Block a user