summaryrefslogtreecommitdiff
path: root/openstackclient/tests/api
diff options
context:
space:
mode:
authorSteve Martinelli <stevemar@ca.ibm.com>2015-09-10 16:10:55 -0500
committerLin Hua Cheng <os.lcheng@gmail.com>2015-10-02 01:20:40 +0000
commitfaece91756fd37c02e1d16e2a7f1176621d7e896 (patch)
tree03384dd8237d2bc305dffcb32923848debc9a98e /openstackclient/tests/api
parent4733fd0d3cd328a8abbd62cbfabd973b0986c58c (diff)
downloadpython-openstackclient-faece91756fd37c02e1d16e2a7f1176621d7e896.tar.gz
cleanup account ids from container commands
use a common function to determine account ID instead of different ways - depending on the response and command Change-Id: I95adc5dc7d5a82a2cffc570d1ded24d1fc754a11
Diffstat (limited to 'openstackclient/tests/api')
-rw-r--r--openstackclient/tests/api/test_object_store_v1.py2
1 files changed, 2 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',