In device manager unit tests, replace string comparison of xml with better validation

Bug #1396821 reported by Sachin Bansal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
Medium
Suresh Balineni

Bug Description

In device manager unit tests, currently we validate the results by comparing raw xml string. We should replace it with a scheme where we parse the result and compare individual fields. Comparing xmls causes the test to fail whenever a new field is added.

Changed in juniperopenstack:
status: New → Fix Committed
Sachin Bansal (sbansal)
Changed in juniperopenstack:
status: Fix Committed → In Progress
Sachin Bansal (sbansal)
Changed in juniperopenstack:
status: In Progress → Fix Committed
Nischal Sheth (nsheth)
information type: Proprietary → Public
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.