From e2940eea18e2ad5e40fbee63af7502aa1055938d Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Fri, 30 Sep 2022 10:46:45 +0100 Subject: tests: Move fake clients to top of file These are important and they're easier to identify at the top of the file than nested deep inside. Change-Id: I1569c855fadfe4cdacf83ee07d08922bf3edefbc Signed-off-by: Stephen Finucane --- openstackclient/tests/unit/volume/v3/fakes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openstackclient/tests/unit/volume/v3') diff --git a/openstackclient/tests/unit/volume/v3/fakes.py b/openstackclient/tests/unit/volume/v3/fakes.py index e27d7fca..caf7d269 100644 --- a/openstackclient/tests/unit/volume/v3/fakes.py +++ b/openstackclient/tests/unit/volume/v3/fakes.py @@ -23,7 +23,7 @@ from openstackclient.tests.unit import utils from openstackclient.tests.unit.volume.v2 import fakes as volume_v2_fakes -class FakeVolumeClient(object): +class FakeVolumeClient: def __init__(self, **kwargs): self.auth_token = kwargs['token'] -- cgit v1.2.1