summaryrefslogtreecommitdiff
path: root/tests/unit/test_service.py
diff options
context:
space:
mode:
authorJoel Wright <joel.wright@sohonet.com>2015-06-08 15:19:11 +0100
committerJoel Wright <joel.wright@sohonet.com>2015-11-25 15:15:09 +0000
commita3a78be87b88beca83a8cc0c96e209ab8e1a4189 (patch)
tree0d6a654f2ea613782f468ad52638e0fbebc7192d /tests/unit/test_service.py
parent562f386e931ca0e3720a566646267074f3a44b45 (diff)
downloadpython-swiftclient-a3a78be87b88beca83a8cc0c96e209ab8e1a4189.tar.gz
New API documentation for python-swiftclient
New documentation for python-swiftclient that introduces the APIs available and gives some opinionated advice about when to use the shell, the client API and the service API. Change-Id: I19020f041fab2e72469979f712ffe3951c431d24
Diffstat (limited to 'tests/unit/test_service.py')
-rw-r--r--tests/unit/test_service.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/test_service.py b/tests/unit/test_service.py
index 8eea4c3..6304b82 100644
--- a/tests/unit/test_service.py
+++ b/tests/unit/test_service.py
@@ -868,6 +868,7 @@ class TestServiceUpload(_TestServiceBase):
type(mock_conn).attempts = mock.PropertyMock(return_value=2)
expected_r = {
'action': 'upload_segment',
+ 'for_container': 'test_c',
'for_object': 'test_o',
'segment_index': 2,
'segment_size': 10,