All,

Just put the last few finishing touches on this, fixedup all the libvirt tests, and got all unittests running cleanly...

https://github.com/autotest/virt-test/pull/218

The three major items in this are:

* New Unittest coverage for all the major, changed/updated code.

* Moved libvirt_xml module into a package, however I preserved the original module's namespace (via package's __init__.py)

* Implemented libvirt_xml.accessors module, to help make reading, writing, and maintaining xml-manipulating methods super-duper-easy.

Now, one call in a class's __init__ can generate three instance-methods (get, set, del) automatically. The included manipulations are:

* Upon use, raise an exception, w/ full class & instance debugging info (i.e. property access is read-only, write-only, etc.).

* Add/Remove an XML tag based on it's XML document tree location.

* Add/Remove type-enforced integer text data

* Add/Remove XML Tag attributes based on it's XML document tree location.

* Add/Remove an XML tag & it's attributes as a python-dict.


Feedback, typo notices, and evil-green-bug alerts are all welcome!


--
Chris Evich, RHCA, RHCE, RHCDS, RHCSS
Quality Assurance Engineer
e-mail: cevich + `@' + redhat.com o: 1-888-RED-HAT1 x44214

_______________________________________________
Virt-test-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-test-devel

Reply via email to