swift/test/unit/common
Catherine Northcott 211758f8cb Add support for storage policies to have more than one name
This patch alters storage_policy.py to allow storage policies
to have multiple names. Now users are able to add a number of
human-readable aliases for storage policies. Policies now have
a .name (the default name), .aliases (a string of comma
seperated aliases), and .aliases_list (a list of all human
readable names). Policies will always have an .aliases value
if no aliases are set it will contain the default name.
The policy docs and tests have been updated to reflect changes
and policy.get_policy_info has been altered to display the
name and aliases

Change-Id: I02967ca8d7c790595e5ee551581196aa64552eea
2015-12-10 14:47:23 +13:00
..
middleware Ignore Content-Type from client on multipart-manifest=delete 2015-11-20 11:58:44 -08:00
ring swift-ring-builder can't remove a device with zero weight 2015-10-20 16:13:28 +02:00
__init__.py Initial commit of Swift code 2010-07-12 17:03:45 -05:00
corrupted_example.db Real files for bad databases. 2011-08-02 18:21:25 +00:00
malformed_example.db Real files for bad databases. 2011-08-02 18:21:25 +00:00
test_base_storage_server.py pep8 fix: assertEquals -> assertEqual 2015-10-11 12:57:25 +02:00
test_bufferedhttp.py remove remaining simplejson uses, prefer standard library import 2015-11-16 12:34:24 -08:00
test_constraints.py pep8 fix: assertEquals -> assertEqual 2015-10-11 12:57:25 +02:00
test_container_sync_realms.py Fix unit tests failing in some cases 2014-10-09 22:04:53 +05:30
test_daemon.py pep8 fix: assertEquals -> assertEqual 2015-10-11 12:57:25 +02:00
test_db_replicator.py remove remaining simplejson uses, prefer standard library import 2015-11-16 12:34:24 -08:00
test_db.py remove remaining simplejson uses, prefer standard library import 2015-11-16 12:34:24 -08:00
test_direct_client.py Add unit tests for direct_client 2015-11-10 16:19:39 +00:00
test_exceptions.py Remove swiftclient dep on direct_client 2013-12-24 03:11:43 -08:00
test_internal_client.py Read the response body, if response status is greater than 300. 2015-11-05 20:07:15 -08:00
test_manager.py monkeypatch thread for keystoneclient 2015-11-03 16:36:19 +01:00
test_memcached.py pep8 fix: assertEquals -> assertEqual 2015-10-11 12:57:25 +02:00
test_request_helpers.py pep8 fix: assertEquals -> assertEqual 2015-10-11 12:57:25 +02:00
test_splice.py pep8 fix: assertEquals -> assertEqual 2015-10-11 12:57:25 +02:00
test_storage_policy.py Add support for storage policies to have more than one name 2015-12-10 14:47:23 +13:00
test_swob.py pep8 fix: assertEquals -> assertEqual 2015-10-11 12:57:25 +02:00
test_utils.py Merge "monkeypatch thread for keystoneclient" 2015-11-11 21:08:53 +00:00
test_wsgi.py Merge "monkeypatch thread for keystoneclient" 2015-11-11 21:08:53 +00:00