Trivial: Fix wrong comment in test_image.py

Code in test_image.py has nothing to do with server.

Change-Id: Ia73d7b99effb394c5db9635fee6da350b0b1086b
This commit is contained in:
Tang Chen 2016-02-02 15:22:40 +08:00
parent e628d5202c
commit f36177ebdd

View File

@ -31,11 +31,13 @@ class TestImage(image_fakes.TestImagev2):
def setUp(self): def setUp(self):
super(TestImage, self).setUp() super(TestImage, self).setUp()
# Get a shortcut to the ServerManager Mock # Get shortcuts to the Mocks in image client
self.images_mock = self.app.client_manager.image.images self.images_mock = self.app.client_manager.image.images
self.images_mock.reset_mock() self.images_mock.reset_mock()
self.image_members_mock = self.app.client_manager.image.image_members self.image_members_mock = self.app.client_manager.image.image_members
self.image_members_mock.reset_mock() self.image_members_mock.reset_mock()
# Get shortcut to the Mocks in identity client
self.project_mock = self.app.client_manager.identity.projects self.project_mock = self.app.client_manager.identity.projects
self.project_mock.reset_mock() self.project_mock.reset_mock()
self.domain_mock = self.app.client_manager.identity.domains self.domain_mock = self.app.client_manager.identity.domains