deb-glance/glance/tests/functional/v1
Ian Cordasco 18acc704a1 Fix regression introduced by Community Images
Updating an image in v1 skipped the work to ensure that the image dictionary
would be Image v2 compliant. It was hidden inside an else clause and was only
run when there was no image id provided. This meant that only sometimes would
is_public be appropriately converted to visibility.

A functional test has been added to prevent regression and the code has been
mildly altered to fix the issue.

Closes-bug: #1658164
Change-Id: I996fbed2e31df8559c025cca31e5e12c4fb76548
2017-01-20 22:37:28 +00:00
..
__init__.py Adding versioned namespaces in test dir 2012-03-25 13:28:45 -07:00
test_api.py Fix regression introduced by Community Images 2017-01-20 22:37:28 +00:00
test_copy_to_file.py Extracted HTTP response codes to constants in tests 2016-10-06 15:17:06 +00:00
test_misc.py Python 3: fix glance.tests.functional.v1.test_misc 2016-12-01 17:43:22 +01:00
test_multiprocessing.py Adjust test suite for new psutil versions 2017-01-15 15:07:50 +01:00