We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95d47c4 commit 4a4944aCopy full SHA for 4a4944a
source_py3/test_python_toolbox/test_proxy_property.py
@@ -29,7 +29,7 @@ def __init__(self):
29
'.y',
30
doc='Proxy for `y`.'
31
)
32
- z_proxy = ProxyProperty('.obj.z')
+ z_proxy = ProxyProperty('.obj.z', doc='aye, this my favorite z.')
33
uuid_proxy = ProxyProperty(
34
'.uuid',
35
'Object-specific UUID.'
@@ -68,6 +68,10 @@ def __init__(self):
68
assert a0.z_proxy == [1, 2, 3] != a1.z_proxy == 'z'
69
# #
70
### 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.'>''')
75
76
77
def test_dot():
0 commit comments