swift/test/unit/common
Alistair Coles dd113ab25a Refactor proxy-server conf loading to a helper function
There were two middlewares using a common pattern to load
the proxy-server app config section. The existing pattern
fails to recognise option overrides that are declared using
paste-deploy's 'set' notation, as illustrated by the change
to test_dlo.py in this patch.

This patch replaces the existing code with a helper function
that loads the proxy-server config using the paste-deploy loader.
The resulting config dict is therefore exactly the same as that
used to initialise the proxy-server app.

Change-Id: Ib58ce03e2010f41e7eb11f1a6dc78b0b7f55d466
2017-12-07 10:24:30 -08:00
..
middleware Refactor proxy-server conf loading to a helper function 2017-12-07 10:24:30 -08:00
ring Merge "Respect co-builder partition moves when min_part_hours is zero" 2017-10-27 08:27:28 +00: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
malformed_schema_example.db Quarantine malformed database schema SQLite errors 2016-12-01 14:17:02 +11:00
test_base_storage_server.py pep8 fix: assertEquals -> assertEqual 2015-10-11 12:57:25 +02:00
test_bufferedhttp.py Clean up a couple hand-rolled mocks. 2017-10-20 15:31:07 -07:00
test_constraints.py Always require device dir for containers 2017-09-01 10:32:12 -07:00
test_container_sync_realms.py Using assertIsNone() instead of assertEqual(None) 2017-06-07 14:05:53 +08:00
test_daemon.py Use "poll" or "selects" Eventlet hub for all Swift daemons. 2017-10-12 10:45:12 -07:00
test_db_replicator.py Use check_drive consistently 2017-11-01 16:33:40 +00:00
test_db.py Merge "More assertion cleanup" 2017-09-13 06:44:02 +00:00
test_direct_client.py Merge "More assertion cleanup" 2017-09-13 06:44:02 +00:00
test_exceptions.py Remove swiftclient dep on direct_client 2013-12-24 03:11:43 -08:00
test_header_key_dict.py Using assertIsNone() instead of assertEqual(None) 2017-06-07 14:05:53 +08:00
test_internal_client.py Py3: Fixes eventlet ImportError: No module named urllib2 2016-09-07 09:04:30 +00:00
test_linkat.py Add checksum to object extended attributes 2017-11-03 13:30:05 -04:00
test_manager.py Add checksum to object extended attributes 2017-11-03 13:30:05 -04:00
test_memcached.py Assert memcached connection error is logged 2017-09-26 16:22:05 +00:00
test_request_helpers.py Merge "Add sanity checks to strip_*meta_prefix functions" 2017-09-13 06:42:16 +00:00
test_splice.py No longer import nose 2017-11-07 15:39:25 +11:00
test_storage_policy.py Fix swiftdir option and usage of storage policy aliases 2017-07-12 16:23:04 -04:00
test_swob.py Respond 400 Bad Request when Accept headers fail to parse 2017-10-13 12:35:21 -07:00
test_utils.py Merge "No longer import nose" 2017-11-08 23:43:07 +00:00
test_wsgi.py Refactor proxy-server conf loading to a helper function 2017-12-07 10:24:30 -08:00