manila/manila/tests/api/v2
Goutham Pacha Ravi 0d8310ec7a Fix version selector when for proxy-style URLs
When manila API is served behind a proxy, the
"script_name" in the request can have the proxy
component in it. So, this patch fixes the version
selection logic by looking for the version in the
script name string instead of equivalence.

In addition, this patch adds some missing unit
tests and fixes tests that invoke a mocked
wsgi app for testing request context.

Change-Id: I0363d7174f3d7ddefa8ced59b182faed665e9c36
Partial-Bug: #1815038
Closes-Bug: #1818081
2019-03-11 16:42:25 +00:00
..
__init__.py Add new URLs for APIs ported from extensions 2015-12-01 12:15:06 +02:00
stubs.py Use newer location for iso8601 UTC 2017-09-06 16:51:55 -05:00
test_availability_zones.py Use parenthesis instead of backslashes in tests folder 2017-06-19 17:56:01 +08:00
test_messages.py User Messages 2017-07-13 13:05:57 +02:00
test_quota_class_sets.py Use class name in invocation of super 2018-06-06 17:47:18 -07:00
test_quota_sets.py Use class name in invocation of super 2018-06-06 17:47:18 -07:00
test_security_services.py Add ou to security service 2018-04-24 15:04:40 -07:00
test_services.py Use class name in invocation of super 2018-06-06 17:47:18 -07:00
test_share_access_metadata.py Support metadata for access rule resource 2018-07-20 23:31:48 +08:00
test_share_accesses.py Support metadata for access rule resource 2018-07-20 23:31:48 +08:00
test_share_export_locations.py Separate APIs for share & replica export locations 2019-01-07 01:51:16 -08:00
test_share_group_snapshots.py Fix version selector when for proxy-style URLs 2019-03-11 16:42:25 +00:00
test_share_group_type_specs.py Manila Share Groups 2017-01-23 21:29:12 +02:00
test_share_group_types.py Retrieve is_default value to fix empty display in CLI 2018-07-24 12:00:58 +08:00
test_share_groups.py Fix version selector when for proxy-style URLs 2019-03-11 16:42:25 +00:00
test_share_instance_export_locations.py Use class name in invocation of super 2018-06-06 17:47:18 -07:00
test_share_instances.py Fix version selector when for proxy-style URLs 2019-03-11 16:42:25 +00:00
test_share_networks.py Fix getting share networks and security services error 2017-12-18 09:17:40 +08:00
test_share_replica_export_locations.py Separate APIs for share & replica export locations 2019-01-07 01:51:16 -08:00
test_share_replicas.py Fix version selector when for proxy-style URLs 2019-03-11 16:42:25 +00:00
test_share_servers.py Add manage/unmanage of shares in DHSS=True 2019-03-05 16:03:29 -03:00
test_share_snapshot_export_locations.py Add mountable snapshots support 2017-01-24 17:26:45 -02:00
test_share_snapshot_instance_export_locations.py Add mountable snapshots support 2017-01-24 17:26:45 -02:00
test_share_snapshot_instances.py Fix version selector when for proxy-style URLs 2019-03-11 16:42:25 +00:00
test_share_snapshots.py Fix version selector when for proxy-style URLs 2019-03-11 16:42:25 +00:00
test_share_types.py Retrieve is_default value to fix empty display in CLI 2018-07-24 12:00:58 +08:00
test_shares.py Fix version selector when for proxy-style URLs 2019-03-11 16:42:25 +00:00