summaryrefslogtreecommitdiffstats
path: root/unit-tests
Commit message (Collapse)AuthorAgeFilesLines
* Fixed import issues with dmidecodeDavid Sommerseth2009-06-102-12/+12
| | | | | | | | | | | | | | | | As we now include libxml2 and the required libxml2mod (which is used to wrap xmlDoc and xmlNode data into Python objects), importing only dmidecode caused a failure. If adding import libxml2 first, everything would work out fine. To avoid this issue, due to backwards compatibility, a tiny dmidecode wrapper is implemted as well. The dmidecode.so module is now renamed to dmidecodemodule.so, and the wrapper is now called dmidecode.py. To simplify things, the dmidecodeXML module introduced in commit b25b2ca548508cd2beb26f465b7bc5a296592461 is not merged into the new dmidecode.py The constants mentioned are now called dmidecode.DMIXML_NODE and dmidecode.DMIXML_DOC and to instantiate the dmidecodeXML class, dmidecode.dmidecodeXML() is used.
* Updated unit-test to check the XML APIDavid Sommerseth2009-06-101-1/+72
|
* CleanupNima Talebi2009-05-243-4/+7
|
* Completed preliminary reimplementation of type()Nima Talebi2009-05-241-0/+2
| | | | | | | Updated test unit to match. Throw an exception instead of returning None/False in some functions.
* Expanding the test case to include the POC demoNima Talebi2009-05-239-0/+891
The POC demo does not actually do much testing yet, other than just working or not working - but it's in place now for future enhancements.