glance/glance/tests/functional
Matt Riedemann 88a8ad7823 Fix DeprecationWarnings for RequestContext.tenant/user usage
RequestContext.tenant and user fields are deprecated in favor
of project_id and user_id respectively.

This change modifies the glance.context.RequestContext constructor
to transition usage of tenant/user to project_id/user_id until
all tests are moved over to the new attributes. Runtime usage of
the old fiels is updated.

To prevent new code from using the deprecated fields, a warnings
filter is added which will make tests fail if they hit code using
the old fields.

Co-Authored-By: Abhishek Kekane <akekane@redhat.com>
Change-Id: I351380840308a24769ece93abc6d1a9a6d6aa06f
2019-02-06 09:59:36 -05:00
..
db Fix DeprecationWarnings for RequestContext.tenant/user usage 2019-02-06 09:59:36 -05:00
serial Remove Images API v1 entry points 2018-07-13 10:21:49 +01:00
v2 Fix DeprecationWarnings for RequestContext.tenant/user usage 2019-02-06 09:59:36 -05:00
__init__.py Fixed intermittent timeout/failing functional tests 2018-10-12 14:24:16 +00:00
ft_utils.py Add multihash checks to functional tests 2018-08-14 21:01:22 -04:00
store_utils.py Fix and enable remaining v1 tests on py35. 2017-03-22 23:02:16 +00:00
test_api.py Bump Imges API version to 2.7 2018-08-01 19:42:11 +01:00
test_cache_middleware.py Remove Images API v1 entry points 2018-07-13 10:21:49 +01:00
test_client_exceptions.py Extracted HTTP response codes to constants in tests 2016-10-06 15:17:06 +00:00
test_client_redirects.py Python3: fix test_client_redirects.py 2016-12-01 17:42:12 +01:00
test_cors_middleware.py Remove Images API v1 entry points 2018-07-13 10:21:49 +01:00
test_glance_manage.py Convert to string before using assertIn 2018-06-04 16:34:29 -04:00
test_gzip_middleware.py Fix assertEqual arguments order 2014-09-19 00:25:18 +08:00
test_healthcheck_middleware.py Python3: fix logs/glance.tests.functional.test_healthcheck_middleware 2016-12-01 17:43:22 +01:00
test_logging.py Fixed PY35 Jenkins Gate warnings 2017-05-27 09:02:31 +00:00
test_reload.py Add glance-eventlet-ssl-handshake-broken-py35 job 2018-06-05 22:32:28 -04:00
test_sqlite.py Rationalize test asserts 2015-07-09 13:48:49 +00:00
test_ssl.py Add glance-eventlet-ssl-handshake-broken-py35 job 2018-06-05 22:32:28 -04:00
test_wsgi.py Clean up py35 env in tox.ini. 2017-05-09 22:54:59 +00:00