openstack-python-openstackc.../openstackclient/tests/functional
Dean Troyer 82a86d2d58 Simplify logic around option lists in port set
Use a common pattern to handle option pairs --XYZ and --no-XYZ for managing
lists of attributes. This pattern looks at the presence of the option
in parsed_args first and branches as necessary.

Some specific steps are included for the SDK Network resources to reliably
set the 'dirty' flag for changed attributes via one or both of the following:
* iterate over lists of original resource attributes to force the creation
  of a new list object
* use [].extend() rather than += to add to the existing list (substitute
  {}.update() for dicts)

Change-Id: I0c3f9a52ffe1ae2b5b230cb13d6376dd9131aaf9
2017-03-20 16:55:48 -05:00
..
common Support list commands by group name keyword 2017-02-23 12:13:06 +08:00
compute Refactor ServerTests and ServerEventTests functional test classes 2017-03-10 14:50:21 +08:00
examples move all functional tests to tests module 2016-09-09 03:29:47 +00:00
identity Merge "Modify error handling for role and group commands" 2017-02-13 17:27:33 +00:00
image Rework port functional tests on json output format 2017-02-21 07:35:02 +00:00
network Simplify logic around option lists in port set 2017-03-20 16:55:48 -05:00
object move all functional tests to tests module 2016-09-09 03:29:47 +00:00
volume Merge "Support --no-property in "volume set" command" 2017-03-06 03:47:49 +00:00
__init__.py move all functional tests to tests module 2016-09-09 03:29:47 +00:00
base.py change assert_show_fields to not fail on new fields 2017-01-25 13:09:16 -08:00
post_test_hook.sh unwedge the gate 2016-09-09 22:49:35 -04:00
post_test_hook_tips.sh Use git+file urls instead of directories 2017-01-14 20:40:17 +00:00