Improve output of _compare_result in case of errors
Bug #1133621 reported by
Giampaolo Lauria
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Giampaolo Lauria |
Bug Description
In case of errors, _compare_result throws an exception which will display the results of "expected" and "results".
I think it would be easier to debug its output if:
1) We specify where the output is coming from (template or response)
2) Whether we are referring to a list or dictionary
3) In case of key mismatch for a dictionary, only display those keys in the dictionary which differ from one another, not the entire list of keys. The longer the lists, the harder it becomes to figure out which items differ.
Changed in nova: | |
assignee: | nobody → Giampaolo Lauria (lauria) |
description: | updated |
Changed in nova: | |
importance: | Undecided → Low |
Changed in nova: | |
status: | New → Confirmed |
description: | updated |
Changed in nova: | |
milestone: | none → grizzly-rc1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | grizzly-rc1 → 2013.1 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/23039
Review: https:/