Skip to content

Commit 6f7c705

Browse files
committed
Trivial: Improve unclear comments in test_server.py
In test_server.py, there are two ImageManagers are faked: 1. the one in compute client 2. the one in image client But the comments are the same. And so is volume. This patch makes the comments more clear. Change-Id: I2c52f48a7b3c005c185a4ac64abbb3e18d5fb3de
1 parent f65f82e commit 6f7c705

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

openstackclient/tests/compute/v2/test_server.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,23 +31,23 @@ class TestServer(compute_fakes.TestComputev2):
3131
def setUp(self):
3232
super(TestServer, self).setUp()
3333

34-
# Get a shortcut to the ServerManager Mock
34+
# Get a shortcut to the compute client ServerManager Mock
3535
self.servers_mock = self.app.client_manager.compute.servers
3636
self.servers_mock.reset_mock()
3737

38-
# Get a shortcut to the ImageManager Mock
38+
# Get a shortcut to the compute client ImageManager Mock
3939
self.cimages_mock = self.app.client_manager.compute.images
4040
self.cimages_mock.reset_mock()
4141

42-
# Get a shortcut to the FlavorManager Mock
42+
# Get a shortcut to the compute client FlavorManager Mock
4343
self.flavors_mock = self.app.client_manager.compute.flavors
4444
self.flavors_mock.reset_mock()
4545

46-
# Get a shortcut to the ImageManager Mock
46+
# Get a shortcut to the image client ImageManager Mock
4747
self.images_mock = self.app.client_manager.image.images
4848
self.images_mock.reset_mock()
4949

50-
# Get a shortcut to the VolumeManager Mock
50+
# Get a shortcut to the volume client VolumeManager Mock
5151
self.volumes_mock = self.app.client_manager.volume.volumes
5252
self.volumes_mock.reset_mock()
5353

0 commit comments

Comments
 (0)