summaryrefslogtreecommitdiff
path: root/openstackclient/tests
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-10-05 21:54:18 +0000
committerGerrit Code Review <review@openstack.org>2015-10-05 21:54:18 +0000
commit0bfa349ede188594b7e3df826f90bef25518ff85 (patch)
tree338bb359780ffa5d3796b6d892fa7e26166b2edf /openstackclient/tests
parent77689c93a5c4faeba2102979860bcc39e89e6cae (diff)
parentfaece91756fd37c02e1d16e2a7f1176621d7e896 (diff)
downloadpython-openstackclient-0bfa349ede188594b7e3df826f90bef25518ff85.tar.gz
Merge "cleanup account ids from container commands"
Diffstat (limited to 'openstackclient/tests')
-rw-r--r--openstackclient/tests/api/test_object_store_v1.py2
-rw-r--r--openstackclient/tests/object/v1/test_container_all.py2
-rw-r--r--openstackclient/tests/object/v1/test_object_all.py2
3 files changed, 6 insertions, 0 deletions
diff --git a/openstackclient/tests/api/test_object_store_v1.py b/openstackclient/tests/api/test_object_store_v1.py
index b18a003d..323bb8e0 100644
--- a/openstackclient/tests/api/test_object_store_v1.py
+++ b/openstackclient/tests/api/test_object_store_v1.py
@@ -157,6 +157,7 @@ class TestContainer(TestObjectAPIv1):
'container': 'qaz',
'object_count': '1',
'bytes_used': '577',
+ 'meta-owner': FAKE_ACCOUNT,
'read_acl': None,
'write_acl': None,
'sync_to': None,
@@ -322,6 +323,7 @@ class TestObject(TestObjectAPIv1):
'content-type': 'text/alpha',
'content-length': '577',
'last-modified': '20130101',
+ 'meta-owner': FAKE_ACCOUNT,
'etag': 'qaz',
'wife': 'Wilma',
'x-tra-header': 'yabba-dabba-do',
diff --git a/openstackclient/tests/object/v1/test_container_all.py b/openstackclient/tests/object/v1/test_container_all.py
index 8b200e09..4477f2e0 100644
--- a/openstackclient/tests/object/v1/test_container_all.py
+++ b/openstackclient/tests/object/v1/test_container_all.py
@@ -316,6 +316,7 @@ class TestContainerShow(TestContainerAll):
'account',
'bytes_used',
'container',
+ 'meta-owner',
'object_count',
'read_acl',
'sync_key',
@@ -327,6 +328,7 @@ class TestContainerShow(TestContainerAll):
object_fakes.ACCOUNT_ID,
'123',
'ernie',
+ object_fakes.ACCOUNT_ID,
'42',
'qaz',
'rfv',
diff --git a/openstackclient/tests/object/v1/test_object_all.py b/openstackclient/tests/object/v1/test_object_all.py
index 7a76ab76..41fe6324 100644
--- a/openstackclient/tests/object/v1/test_object_all.py
+++ b/openstackclient/tests/object/v1/test_object_all.py
@@ -160,6 +160,7 @@ class TestObjectShow(TestObjectAll):
'content-type',
'etag',
'last-modified',
+ 'meta-owner',
'object',
'x-object-manifest',
)
@@ -171,6 +172,7 @@ class TestObjectShow(TestObjectAll):
'text/plain',
'4c4e39a763d58392724bccf76a58783a',
'yesterday',
+ object_fakes.ACCOUNT_ID,
object_fakes.object_name_1,
'manifest',
)