python-openstackclient/openstackclient
Steve Martinelli 42ac82b1a4 change assert_show_fields to not fail on new fields
whenever a resource adds a field (which is allowed in our API
guidelines), OSC functional tests fail, because we validate
the resource keys to a hardcoded list.

instead, this change proposes that the logic of
assert_show_fields is flipped around, so our hardcoded list acts
as a minimum set of values that must appear in the resource.

as part of this change, some fields were remove from the constants
since they were not actually in the returned data.

also, delete unused code `assert_show_structure`.

Change-Id: I8c0f0e80ea472f9c7f93c5f1f0ae52048e6cd7da
2017-01-25 13:09:16 -08:00
..
api Make 'object save' fast again 2017-01-09 16:19:29 +00:00
common Fix OSC networking commands help errors 2017-01-22 06:30:31 +00:00
compute Use image client for images instead of compute 2017-01-24 16:56:35 +00:00
identity Merge "Handle 403 error on creating trust" 2017-01-24 04:16:28 +00:00
image Update container format choices 2017-01-23 23:04:49 -05:00
locale Imported Translations from Zanata 2016-06-04 06:18:46 +00:00
network SDK refactor: Prepare security group commands 2017-01-23 19:18:23 +00:00
object translate all command help strings 2016-11-17 02:33:42 +00:00
tests change assert_show_fields to not fail on new fields 2017-01-25 13:09:16 -08:00
volume Error in the return of command 'volume qos create' 2017-01-17 15:19:22 +08:00
__init__.py Change version reporting to use pbr 2013-08-02 12:11:49 -05:00
i18n.py Update translation setup 2016-01-29 08:18:50 +09:00
shell.py Correct reraising of exception 2016-12-02 09:56:27 +08:00