summaryrefslogtreecommitdiffstats
path: root/bin/stack
diff options
context:
space:
mode:
authorNaveed Massjouni <naveedm9@gmail.com>2011-09-13 18:17:13 +0000
committerTarmac <>2011-09-13 18:17:13 +0000
commitc3195f02cad33acc7c43030b0a7151cd8a439ef3 (patch)
treea45d2ae2dab40bb885337dd8ef456a810a2b0b44 /bin/stack
parent61e5825a43fff1ad60dcd26454dc4881bdc13ef6 (diff)
parent59cd446cc61fdbf933c504d498852835a187ea6f (diff)
downloadnova-c3195f02cad33acc7c43030b0a7151cd8a439ef3.tar.gz
nova-c3195f02cad33acc7c43030b0a7151cd8a439ef3.tar.xz
nova-c3195f02cad33acc7c43030b0a7151cd8a439ef3.zip
This branch changes XML Serializers and their tests to use lxml.etree instead of minidom.
The current use of minidom in tests unnecessarily forces xml ordering as well as pretty printing. Using etree allows for validating the XML and checking individual element values. Changing all the serializers to use etree allows for fixing of bug 814196 and consistency among the serializers. Schema validation has been added for addresses, flavors, images, limits, metadata and servers resources. The atom feeds we generated are now tested using the feedparser module. This allows for stronger, cleaner and more correct validation. Note: Not all minidom usage has been replaced with lxml. We realized this was too big a job to tackle in a single merge. Fixing those in subsequent merges will be more manageable.
Diffstat (limited to 'bin/stack')
0 files changed, 0 insertions, 0 deletions