swift/test/unit/common/middleware
Tim Burke cd79c4ed59 Quote paths before sending them to swob.Request.blank
Following the fix for https://bugs.python.org/issue43882, our py39 unit
tests started failing. This was because swob.Request.blank calls
stdlib's urlparse, which now strips out newlines. Since Request.blank
*also* always unquotes, just make sure we always quote the newlines we
want to use while testing.

Change-Id: Ia5857c70e51d8af3e42ecaced95525be578db127
(cherry picked from commit 2b5853f419)
2022-04-20 08:22:39 -07:00
..
crypto py3: Work with proper native string paths in crypto meta 2020-09-02 15:10:45 +00:00
s3api tests: Use timedelta to adjust dates, not string manipulations 2020-03-03 05:04:05 +00:00
__init__.py Initial commit of middleware refactor 2010-08-20 00:42:38 +00:00
helpers.py py3: port encryption 2018-11-20 01:30:04 -06:00
test_account_quotas.py py3: Port the acl, account_quotas, cname_lookup, container_sync 2018-12-27 18:55:47 +00:00
test_acl.py pep8 fix: assertEquals -> assertEqual 2015-10-11 12:57:25 +02:00
test_bulk.py Merge "Fix bulk heartbeating when emitting XML" 2018-01-27 01:37:04 +00:00
test_catch_errors.py Merge "Enforce Content-Length in catch_errors" 2018-06-28 12:23:45 +00:00
test_cname_lookup.py Fix cname_lookup test 2021-12-16 16:42:21 +00:00
test_container_sync.py py3: Port the acl, account_quotas, cname_lookup, container_sync 2018-12-27 18:55:47 +00:00
test_copy.py py3: fix copying unicode names 2019-03-01 13:21:16 -08:00
test_crossdomain.py py3: port crossdomain 2018-06-26 13:20:49 -07:00
test_dlo.py dlo: Respond 200 on multi-range GETs 2019-10-18 12:58:37 -07:00
test_domain_remap.py swob: Fix up some WSGI string business 2018-06-27 15:55:30 -07:00
test_formpost.py py3: port formpost middleware 2019-02-26 23:06:52 -06:00
test_gatekeeper.py swob: Stop auto-encoding unicode bodies 2018-06-28 09:58:44 -07:00
test_healthcheck.py swob: Stop auto-encoding unicode bodies 2018-06-28 09:58:44 -07:00
test_keystoneauth.py Merge "Small readability change to test_keystoneauth" 2017-08-28 10:51:45 +00:00
test_list_endpoints.py py3: Monkey-patch json.loads to accept bytes on py35 2018-11-02 21:38:53 +00:00
test_listing_formats.py py3: Port listing_formats middleware 2018-09-17 13:08:12 -07:00
test_memcache.py Py3: Fix test_memcache 2018-12-03 12:52:00 +01:00
test_name_check.py py3: port some more middleware tests 2019-02-21 09:44:02 -08:00
test_proxy_logging.py py3: fix test_proxy_logging.py 2018-06-21 17:18:42 -07:00
test_quotas.py py3: port some more middleware tests 2019-02-21 09:44:02 -08:00
test_ratelimit.py py3: port some more middleware tests 2019-02-21 09:44:02 -08:00
test_read_only.py py3: port some more middleware tests 2019-02-21 09:44:02 -08:00
test_recon.py py3: port some more middleware tests 2019-02-21 09:44:02 -08:00
test_slo.py slo: Better handle non-manifest responses when refetching manifest 2019-10-18 13:40:36 -07:00
test_staticweb.py Move listing formatting out to proxy middleware 2017-09-15 06:38:26 +00:00
test_subrequest_logging.py Remove unhelpful log message in copy middleware 2018-05-29 16:59:14 -07:00
test_symlink.py Merge "Remove symlink from xml listing response" 2017-12-15 15:53:31 +00:00
test_tempauth.py Merge "Implemented the fix to handle the HTTP request methods other than GET." 2019-03-20 03:13:08 +00:00
test_tempurl.py Quote paths before sending them to swob.Request.blank 2022-04-20 08:22:39 -07:00
test_versioned_writes.py py3: port versioned_writes 2019-02-19 13:06:09 -08:00
test_xprofile.py Python3: fix test_xprofile.py 2018-12-12 20:26:10 +01:00