commit d54e7b91bbbda036e845f47e32aff0a0d7e77e26
Author: Kieran Spear <email address hidden>
Date: Sat Oct 26 19:03:53 2013 +1100
Fix incorrect mocking in quota tests
We're using self.snapshots as the return value for volume_snapshot_list,
which is a list of Glance snapshots. It should be
self.cinder_volume_snapshots.
Also change the assert to assertItemsEqual since we're dealing with
dictionaries.
Reviewed: https:/ /review. openstack. org/149150 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=d54e7b91bbb da036e845f47e32 aff0a0d7e77e26
Committed: https:/
Submitter: Jenkins
Branch: master
commit d54e7b91bbbda03 6e845f47e32aff0 a0d7e77e26
Author: Kieran Spear <email address hidden>
Date: Sat Oct 26 19:03:53 2013 +1100
Fix incorrect mocking in quota tests
We're using self.snapshots as the return value for volume_ snapshot_ list, cinder_ volume_ snapshots.
which is a list of Glance snapshots. It should be
self.
Also change the assert to assertItemsEqual since we're dealing with
dictionaries.
Closes-bug: 1413480 cd435363c74a2ec 65546a9c29f
Change-Id: I9632490e94c5d5