From 8f07fec3f2ccf510255f1ff2e4dab233be60d0f9 Mon Sep 17 00:00:00 2001 From: Huanxuan Ao Date: Fri, 19 Aug 2016 21:56:24 +0800 Subject: Clean up FakeClient classes in volume fakes Put FakeTransferClient and FakeServiceClient classes into FakeVolumeClient class, I think we need not to create FakeClient classes for every objects, we can use only FakeVolumeClient for all volume objects. This can reduce repetition, unified codes and make codes look cleaner and easier. Change-Id: I2729ef0e80166f4d49ccd9a48b653e2f215e3bfe --- openstackclient/tests/volume/v1/test_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openstackclient/tests/volume/v1/test_service.py') diff --git a/openstackclient/tests/volume/v1/test_service.py b/openstackclient/tests/volume/v1/test_service.py index 71684344..eb7118a6 100644 --- a/openstackclient/tests/volume/v1/test_service.py +++ b/openstackclient/tests/volume/v1/test_service.py @@ -17,7 +17,7 @@ from openstackclient.tests.volume.v1 import fakes as service_fakes from openstackclient.volume.v1 import service -class TestService(service_fakes.TestService): +class TestService(service_fakes.TestVolumev1): def setUp(self): super(TestService, self).setUp() -- cgit v1.2.1