]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Avoid using whitespace in test_safe_parse_xml.
authorJay S. Bryant <jsbryant@us.ibm.com>
Wed, 24 Apr 2013 17:56:03 +0000 (12:56 -0500)
committerJay S. Bryant <jsbryant@us.ibm.com>
Wed, 24 Apr 2013 18:02:38 +0000 (13:02 -0500)
commit03a32bcb91d3f8af1717277d1d09e571e5c35a7b
tree8c632e28b1b412e3b06a02e4e4051adf01e3171c
parent2522f4d678be58006154e712171fdb96c35273dd
Avoid using whitespace in test_safe_parse_xml.

Updates the test_safe_parse_xml test case in
cinder.tests.test_utils.GenericUtilsTestCase to avoid using
whitespaces and to ignore extraneous newlines returned in the
parsed XML.  This is required to work around differences in
the output from minidom in python 2.6.

Fixes LP Bug #1172352.

Change-Id: I48bdf3cb8eed3e65f7ceaeb1c2b19aa529c930d0
cinder/tests/test_utils.py