openstacksdk/openstack/tests/unit
Monty Taylor 5534590861 Replace catalog-v3.json with keystoneauth fixture
As a first step to having a reusable fixture, replace our
use of catalog-v3.json with a fixture built on top of keystoneauth
token fixtures. Make a catalog containing all of the openstack
services.

There are a bunch of places where we just have some things
hardcoded that change with the auto-generation - like bare-metal
to baremetal. Those are whatever.

There are also places where the test code is requesting an admin
url but in the old catalog the admin and non-admin were
the same, so we were not catching that this was incorrect. Started
to fix this, but it got hairy and it's only a keystone v2 thing
which is on lifesupport. Make the admin and public urls the same
just for ease of landing this patch. We can go back in and make
them different and audit all the v2 keystone codepaths if anyone
decides to care about keystone v2.

There was a bunch of things hardcoded for block-storage which
break when we actually use proxies, which in turn breaks when
we try to properly use a better catalog fixture.

As a followup, we should stop forcing block_storage_api_version=2
because that's absurd, but this is a big enough patch as it is.

Also, volume quota calls were in the image file. Ooops.

Change-Id: I308cd159a5b71c94511f86c9d46bdbc589580c6d
2019-08-20 08:45:53 -04:00
..
baremetal Add node traits support to baremetal 2019-07-25 18:34:45 +02:00
baremetal_introspection baremetal: raise more specific ResourceFailure in wait_for_* methods 2019-06-07 11:27:21 +02:00
block_storage Deprecate VolumeDetail and BackupDetail classes 2019-03-09 11:12:38 +01:00
block_store/v2 Use discovery instead of config to create proxies 2018-10-06 07:44:29 -05:00
cloud Replace catalog-v3.json with keystoneauth fixture 2019-08-20 08:45:53 -04:00
clustering Merge "Fix resource deletion in clustering" 2019-02-01 21:00:54 +00:00
compute Merge "Use Resource layer for compute KeyPairs" 2019-07-24 13:57:51 +00:00
config Replace catalog-v3.json with keystoneauth fixture 2019-08-20 08:45:53 -04:00
database Use pagination detection by default 2019-01-29 10:30:59 +01:00
dns Switch cloud layer to use proxy for DNS 2019-06-18 09:29:35 +02:00
fake Add unit tests for connection.add_service 2019-03-18 10:47:34 +00:00
fixtures Replace catalog-v3.json with keystoneauth fixture 2019-08-20 08:45:53 -04:00
identity Use pagination detection by default 2019-01-29 10:30:59 +01:00
image Specify store when importing an image 2019-07-15 09:33:28 +02:00
instance_ha Add support to get recovery workflow details 2019-03-08 13:14:02 +00:00
key_manager Use pagination detection by default 2019-01-29 10:30:59 +01:00
load_balancer Add Octavia (load_balancer) amphora API 2019-02-02 18:44:01 +00:00
message Use pagination detection by default 2019-01-29 10:30:59 +01:00
network Use Resource layer for network SecurityGroups 2019-06-11 11:35:15 +02:00
object_store Remove and rearrange object bonged proxy tests 2019-04-01 15:38:05 +00:00
orchestration Move Orchestration methods into Proxy 2019-04-03 13:05:44 +02:00
workflow Use pagination detection by default 2019-01-29 10:30:59 +01:00
__init__.py Make way for the functional tests 2015-03-31 17:07:47 -05:00
base.py Replace catalog-v3.json with keystoneauth fixture 2019-08-20 08:45:53 -04:00
fakes.py Make way for the functional tests 2015-03-31 17:07:47 -05:00
test_connection.py Replace catalog-v3.json with keystoneauth fixture 2019-08-20 08:45:53 -04:00
test_exceptions.py Fixes for Unicode characters in python 2 requests 2019-01-28 11:07:37 +01:00
test_format.py Update all test base classes to use base.TestCase 2018-02-16 23:19:41 -06:00
test_hacking.py Get rid of setUpClass and block it for forever 2019-03-01 16:40:06 +00:00
test_microversions.py Throw an error on conflicting microversion config 2018-06-11 11:54:33 -05:00
test_missing_version.py Replace catalog-v3.json with keystoneauth fixture 2019-08-20 08:45:53 -04:00
test_placement_rest.py Add tests to verify behavior on '' in self link 2018-06-18 12:43:44 -05:00
test_proxy.py Collapse OpenStackSDKAdapter into Proxy 2019-03-11 19:44:37 +00:00
test_proxy_base.py Move Orchestration methods into Proxy 2019-04-03 13:05:44 +02:00
test_proxy_base2.py Rename BaseProxy to Proxy 2018-02-15 08:54:34 -06:00
test_resource.py Enable ansible module test for keypair to check return data 2019-08-03 20:57:22 +02:00
test_stats.py Replace catalog-v3.json with keystoneauth fixture 2019-08-20 08:45:53 -04:00
test_utils.py Pin to latest os-service-types 2019-06-06 15:57:25 -05:00