python-openstackclient/openstackclient/tests/functional/image
Stephen Finucane 29a7c9afce image: Unset properties rather than setting to None
Currently, we attempt to unset an image property by setting it to None.
This doesn't work for known properties and is rightly rejected by the
Glance API with the following error:

  BadRequestException: 400: Client Error for url:
  http://172.20.4.87/image/v2/images/368c5751-2b0b-4a38-a255-fd146fe52d31,
  Bad Request

The solution is to actually unset the field by deleting it.

Change-Id: Ie156bedbe0f9244f82c81401679706f484caf9aa
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Story: #2008463
Task: #41493
2020-12-22 17:11:32 +00:00
..
v1 Use cliff formattable columns in image commands 2019-06-22 13:36:46 -05:00
v2 image: Unset properties rather than setting to None 2020-12-22 17:11:32 +00:00
__init__.py move all functional tests to tests module 2016-09-09 03:29:47 +00:00
base.py Fix broken gate jobs 2018-08-07 09:32:00 +00:00