openstack-python-openstackc.../openstackclient/tests/functional
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
..
common functional: Remove test for 'quota set --force' 2020-11-06 17:40:13 +00:00
compute tests: Remove 'agent' functional tests 2020-11-16 15:54:27 +01:00
identity Resolve PEP8 2020-05-14 13:53:38 -05:00
image image: Unset properties rather than setting to None 2020-12-22 17:11:32 +00:00
network Merge "Support for stateless security groups" 2020-04-08 08:31:28 +00:00
object Fix functional tests for py3 2019-10-31 00:17:35 +00:00
volume Merge "Fix faulthy state argument choice" 2020-03-24 21:34:44 +00:00
__init__.py move all functional tests to tests module 2016-09-09 03:29:47 +00:00
base.py Delete the testcases that arent needed anymore 2020-07-23 17:08:42 -04:00