Fix services decorator to use object_storage

Previously the services decorator used the keyword object to denote that
the test would use swift. However, everywhere else object_storage is used.
This commit makes the usage consistent by switching it to object_storage.

Change-Id: I69edf44a9b3b731616f1faeb240a691a187df845
This commit is contained in:
Matthew Treinish 2014-02-02 13:37:44 -05:00
parent c7522db4ae
commit 03c4f773e7
2 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@ class TestSwiftBasicOps(manager.OfficialClientTest):
for obj in not_present_obj:
self.assertNotIn(obj, object_list)
@services('object')
@services('object_storage')
def test_swift_basic_ops(self):
self._get_swift_stat()
container_name = self._create_container()

View File

@ -67,7 +67,7 @@ def services(*args, **kwargs):
exercised by a test case.
"""
valid_service_list = ['compute', 'image', 'volume', 'orchestration',
'network', 'identity', 'object', 'dashboard']
'network', 'identity', 'object_storage', 'dashboard']
def decorator(f):
for service in args: