From 97f6a843fc167da1d2fca0aedd927666c83086a5 Mon Sep 17 00:00:00 2001 From: ghanshyam Date: Tue, 25 Jul 2017 00:48:31 +0000 Subject: [PATCH] Move object storage capabilities_client to lib interface object storage capabilities_client is stable now and good to be moved as stable library interface. Partially implements blueprint consistent-service-method-names Change-Id: I06e874300a7b042ed09dc666aaeed578e814acf1 --- ...e-object-storage-as-stable-interface-42014c7b43ecb254.yaml | 1 + .../{ => lib}/services/object_storage/capabilities_client.py | 0 tempest/services/object_storage/__init__.py | 4 ++-- .../services/object_storage/test_capabilities_client.py | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) rename tempest/{ => lib}/services/object_storage/capabilities_client.py (100%) rename tempest/tests/{ => lib}/services/object_storage/test_capabilities_client.py (96%) diff --git a/releasenotes/notes/migrate-object-storage-as-stable-interface-42014c7b43ecb254.yaml b/releasenotes/notes/migrate-object-storage-as-stable-interface-42014c7b43ecb254.yaml index d38f562705..1e97b29333 100644 --- a/releasenotes/notes/migrate-object-storage-as-stable-interface-42014c7b43ecb254.yaml +++ b/releasenotes/notes/migrate-object-storage-as-stable-interface-42014c7b43ecb254.yaml @@ -6,3 +6,4 @@ features: any maintenance changes. * bulk_middleware_client + * capabilities_client diff --git a/tempest/services/object_storage/capabilities_client.py b/tempest/lib/services/object_storage/capabilities_client.py similarity index 100% rename from tempest/services/object_storage/capabilities_client.py rename to tempest/lib/services/object_storage/capabilities_client.py diff --git a/tempest/services/object_storage/__init__.py b/tempest/services/object_storage/__init__.py index f272378f7b..a2f0992c1a 100644 --- a/tempest/services/object_storage/__init__.py +++ b/tempest/services/object_storage/__init__.py @@ -14,9 +14,9 @@ from tempest.lib.services.object_storage.bulk_middleware_client import \ BulkMiddlewareClient -from tempest.services.object_storage.account_client import AccountClient -from tempest.services.object_storage.capabilities_client import \ +from tempest.lib.services.object_storage.capabilities_client import \ CapabilitiesClient +from tempest.services.object_storage.account_client import AccountClient from tempest.services.object_storage.container_client import ContainerClient from tempest.services.object_storage.object_client import ObjectClient diff --git a/tempest/tests/services/object_storage/test_capabilities_client.py b/tempest/tests/lib/services/object_storage/test_capabilities_client.py similarity index 96% rename from tempest/tests/services/object_storage/test_capabilities_client.py rename to tempest/tests/lib/services/object_storage/test_capabilities_client.py index 5279bf4749..b7f972a855 100644 --- a/tempest/tests/services/object_storage/test_capabilities_client.py +++ b/tempest/tests/lib/services/object_storage/test_capabilities_client.py @@ -14,7 +14,7 @@ # under the License. -from tempest.services.object_storage import capabilities_client +from tempest.lib.services.object_storage import capabilities_client from tempest.tests.lib import fake_auth_provider from tempest.tests.lib.services import base