Skip to content

Commit 4a4944a

Browse files
committed
-
1 parent 95d47c4 commit 4a4944a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

source_py3/test_python_toolbox/test_proxy_property.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def __init__(self):
2929
'.y',
3030
doc='Proxy for `y`.'
3131
)
32-
z_proxy = ProxyProperty('.obj.z')
32+
z_proxy = ProxyProperty('.obj.z', doc='aye, this my favorite z.')
3333
uuid_proxy = ProxyProperty(
3434
'.uuid',
3535
'Object-specific UUID.'
@@ -68,6 +68,10 @@ def __init__(self):
6868
assert a0.z_proxy == [1, 2, 3] != a1.z_proxy == 'z'
6969
# #
7070
### Finished setting proxy-properties to different values. ################
71+
72+
assert repr(A.x_proxy) == '''<ProxyProperty: '.x'>'''
73+
assert repr(A.z_proxy) == ('''<ProxyProperty: '.obj.z', doc='aye, this '''
74+
'''my favorite z.'>''')
7175

7276

7377
def test_dot():

0 commit comments

Comments
 (0)