summaryrefslogtreecommitdiff
path: root/glance/tests/functional/test_wsgi.py
diff options
context:
space:
mode:
authorCyril Roelandt <cyril@redhat.com>2023-04-12 20:31:05 +0200
committerCyril Roelandt <cyril@redhat.com>2023-04-12 20:37:47 +0200
commit41da684fe41e48eca934aca1f19fbb779be07fc4 (patch)
tree71e6574cdbd696df72981b13b3e4cb8aa477ca04 /glance/tests/functional/test_wsgi.py
parentcb4ac8d37deeadaa43e74125fa8950cd331d4b3e (diff)
downloadglance-41da684fe41e48eca934aca1f19fbb779be07fc4.tar.gz
Fix functional test failures with PasteDeploy 3.x
PasteDeploy replaced pkg_resources with importlib_metadata[1] in 3.0. This causes functional test failures because the line breaks in the example configs from glance/tests/functional/__init__.py are read as a "prefix" by PasteDeploy. For instance, paste.filter_factory = glance.api.middleware.version_negotiation:VersionNegotiationFilter.factory is read as "\nglance.api.middleware.version_negotiation:VersionNegotiationFilter.factory". This might be a bug in PasteDeploy or (quite unlikely) in configparser.ConfigParser rather than in our code, so this issue should be revisited at some point. For now, remove the cosmetic line breaks in order to fix our gates. [1] https://github.com/Pylons/pastedeploy/commit/ef58c20961072e4f60c26e94564180c304af7144 Change-Id: I1e557e731cceb3cfbc4ebc3f0887adf372a91d1d
Diffstat (limited to 'glance/tests/functional/test_wsgi.py')
0 files changed, 0 insertions, 0 deletions