Enhance Python director_property test
This commit is contained in:
parent
86eaf30735
commit
f32a20fc2f
1 changed files with 6 additions and 0 deletions
|
|
@ -14,6 +14,12 @@ foo.setA("BLABLA")
|
|||
if foo.getA() != "BLABLA":
|
||||
raise RuntimeError
|
||||
|
||||
# test property addition in PyFoo
|
||||
if foo.a != "BLABLA":
|
||||
raise RuntimeError
|
||||
|
||||
foo.a = "BIBI"
|
||||
if foo.a != "BIBI":
|
||||
raise RuntimeError
|
||||
if foo.getA() != "BIBI":
|
||||
raise RuntimeError
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue