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 |
||
---|---|---|
.. | ||
__init__.py | ||
test_discovery_image_import.py | ||
test_discovery_stores.py | ||
test_image_actions_resource.py | ||
test_image_data_resource.py | ||
test_image_members_resource.py | ||
test_image_tags_resource.py | ||
test_images_resource.py | ||
test_metadef_resources.py | ||
test_registry_api.py | ||
test_registry_client.py | ||
test_schemas_resource.py | ||
test_tasks_resource.py |