Functional test comparing wrong items

A small fix to test a wrong comparison.

Change-Id: Ia70d9ef289ca7f0bf10c3e4199db2de588602c3f
Closes-bug: 1573652
This commit is contained in:
Niall Bunting 2016-04-22 16:32:22 +00:00
parent 2fc6ff3f30
commit 5aa52f142e

View File

@ -954,7 +954,7 @@ class TestImages(functional.FunctionalTest):
}
for key, value in six.iteritems(expected_image):
self.assertEqual(value, value, key)
self.assertEqual(value, image[key], key)
# Upload data to image
path = self._url('/v2/images/%s/file' % image_id)