diff options
author | Tony Asleson <tasleson@redhat.com> | 2019-10-10 09:01:27 -0500 |
---|---|---|
committer | Tony Asleson <tasleson@redhat.com> | 2019-10-30 10:38:40 -0500 |
commit | 9e15c83673436342a60b8f982e521eb32d972a0c (patch) | |
tree | 711f227211fbf4ba9d972d9c4ba8a05187f51908 /test/dbus | |
parent | b7aab9ba594b9b627ec09b8e0dab5cd75e7178cf (diff) | |
download | lvm2-9e15c83673436342a60b8f982e521eb32d972a0c.tar.gz |
testlib.py: Add interface instance vars.
Diffstat (limited to 'test/dbus')
-rw-r--r-- | test/dbus/testlib.py | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/test/dbus/testlib.py b/test/dbus/testlib.py index ad2d93b7e..75a367d40 100644 --- a/test/dbus/testlib.py +++ b/test/dbus/testlib.py @@ -243,10 +243,6 @@ class RemoteInterface(object): class ClientProxy(object): - Pv = None - Lv = None - Vg = None - VgVdo = None @staticmethod def _intf_short_name(nm): @@ -270,6 +266,22 @@ class ClientProxy(object): def __init__( self, bus, object_path, interface_prop_hash=None, interfaces=None, timelimit=-1): + # Instance variables which may or may not get assigned during class + # construction dynamically. Assigned here so code inspection tools + # have knowledge of their existence. + self.Manager = None + self.Pv = None + self.Vg = None + self.Lv = None + self.VgVdo = None + self.ThinPool = None + self.VdoPool = None + self.SnapShot = None + self.LvCommon = None + self.Job = None + self.CachePool = None + self.CachedLv = None + self.object_path = object_path self.short_interface_names = [] self.tmo = timelimit |