# HG changeset patch
# User Kaitlin Rupert <karupert(a)us.ibm.com>
# Date 1228774860 28800
# Node ID 46a85b43eafd05357c90b8112007c75fd317b163
# Parent 82da8f8250975568ee7030bd7ae1f6298b72ca20
[TEST] Add support for Classname attribute to CimtestClass objects
Signed-off-by: Kaitlin Rupert <karupert(a)us.ibm.com>
diff -r 82da8f825097 -r 46a85b43eafd suites/libvirt-cim/lib/XenKvmLib/enumclass.py
--- a/suites/libvirt-cim/lib/XenKvmLib/enumclass.py Mon Dec 08 14:21:00 2008 -0800
+++ b/suites/libvirt-cim/lib/XenKvmLib/enumclass.py Mon Dec 08 14:21:00 2008 -0800
@@ -67,6 +67,8 @@
raise
def __getattr__(self, attr):
+ if attr == 'Classname':
+ return self.inst.classname
if self.inst.has_key(attr):
return self.inst[attr]
else: