python-openstackclient/openstackclient
Glenn Van de Water 7741347041 Fix service discovery in functional tests
If a required service is not enabled then we skip the test.
The discovery is done by tests/functional/base.py:is_service_enabled
but this method is broken, credentials are not passed to the
'openstack service show' command so every call will fail and every test
that relies on it will be skipped. This commit fixed that method and
the issues that popped up when re-enabling tests.

Network segment range:
 - issue where we assumed network-segment-range extension is always
   present
 - issue where we compare integers and string representations of numbers

Subnet:
 - issue where we try to deepcopy an uncopyable object in UnsetSubnet

Change-Id: Id3cc907c1ed2a25b49cf6f4a7233e0401a02383a
Story: 2005169
Task: 29908
2019-03-13 16:16:24 +01:00
..
api Merge "trivial: remove commented-out code" 2018-12-30 14:30:28 +00:00
common Mention compute API 2.50 in openstack quota show --class 2019-03-07 14:41:09 -05:00
compute Merge "Add note about version 2.5 when listing servers using --ip6" 2019-03-07 21:05:01 +00:00
identity Merge "Modify the help message for 'registered limit set'" 2018-12-18 07:17:25 +00:00
image Merge "Add possibility to filter images using member_status" 2019-03-07 00:34:17 +00:00
locale/tr_TR/LC_MESSAGES Imported Translations from Zanata 2018-03-01 07:25:50 +00:00
network Fix service discovery in functional tests 2019-03-13 16:16:24 +01:00
object Allow objects to be streamed to stdout 2017-07-05 20:08:18 -03:00
tests Fix service discovery in functional tests 2019-03-13 16:16:24 +01:00
volume Merge "Add --attached / --detached parameter to volume set" 2019-03-06 00:58:17 +00:00
__init__.py Clean up W503 and E402 pep8 errors 2018-04-15 12:23:06 +09:00
i18n.py Remove log translations 2017-03-21 17:23:09 +08:00
shell.py Useless line of code in shell.py 2017-09-08 06:28:15 +00:00