diff options
author | Johannes Erdfelt <johannes.erdfelt@rackspace.com> | 2013-01-22 19:30:40 +0000 |
---|---|---|
committer | Johannes Erdfelt <johannes.erdfelt@rackspace.com> | 2013-01-22 19:41:57 +0000 |
commit | 5aec4bf8858afa139e9abc7d75faeaf506232672 (patch) | |
tree | 412965873213d435bad9ac838ac15fb49342c59d /nova/utils.py | |
parent | 343ba7ac288a350c0b20f0bb31a27df756259da6 (diff) | |
download | nova-5aec4bf8858afa139e9abc7d75faeaf506232672.tar.gz nova-5aec4bf8858afa139e9abc7d75faeaf506232672.tar.xz nova-5aec4bf8858afa139e9abc7d75faeaf506232672.zip |
Make compare_result show the difference in lists
If two lists had differed because one had an extra element, both lists
would be included in the exception message. If the lists were large (for
example the list of extensions) it could be very difficult trying to
figure out what is different between the two lists.
This change will show the items that only exist in the expected and/or
result and not the other list.
Change-Id: I6102faea037b4f5e31361adc9db81e79592b7008
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions