88a8ad7823
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 |
||
---|---|---|
.. | ||
migrations | ||
__init__.py | ||
base.py | ||
base_metadef.py | ||
test_migrations.py | ||
test_registry.py | ||
test_rpc_endpoint.py | ||
test_simple.py | ||
test_sqlalchemy.py |