swift/test/unit
Hisashi Osanai 23c7a58f8f Fix ClientException handling in Container Sync
swift/container/sync.py uses swift.common.internal_client.delete_object
and put_object and expected these methods raise ClientException.
But delete_object and put_object never raise the exception so this patch
raises ClientException when urllib2 library raises HTTPError.

Co-Authored-By: Eran Rom <eranr@il.ibm.com>
Closes-Bug: #1419901
Change-Id: I58cbf77988979a07998a46d9d81be84d29b0d9bf
2016-01-07 10:17:20 +00:00
..
account Merge "Reverse-listings follow-up" 2015-11-24 20:03:53 +00:00
cli Added unit tests for ringbuilder command-line utility 2015-11-11 15:09:40 +00:00
common Fix ClientException handling in Container Sync 2016-01-07 10:17:20 +00:00
container Merge "Reverse-listings follow-up" 2015-11-24 20:03:53 +00:00
obj Log error if a local device not identified in replicator 2015-11-21 14:04:32 +01:00
proxy Merge "remove remaining simplejson uses, prefer standard library import" 2015-11-19 22:45:46 +00:00
test_locale monkeypatch thread for keystoneclient 2015-11-03 16:36:19 +01:00
__init__.py EC: Use best available ec_type in unittests 2015-11-10 12:18:50 -08:00