Comment 0 for bug 1986418

Revision history for this message
Takashi Natsume (natsume-takashi) wrote : DeprecationWarning: Using the 'user' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'user_id' argument instead

Running "tox -e py38", the following deprecation warning appears.

2022-08-11 16:42:57.207280 | ubuntu-focal | {6} neutron.tests.unit.test_policy.PolicyTestCase.test_enforce_invalid_scope [0.145266s] ... ok
2022-08-11 16:42:57.207326 | ubuntu-focal |
2022-08-11 16:42:57.207344 | ubuntu-focal | Captured stderr:
2022-08-11 16:42:57.207356 | ubuntu-focal | ~~~~~~~~~~~~~~~~
2022-08-11 16:42:57.207386 | ubuntu-focal | /home/zuul/src/opendev.org/openstack/neutron/.tox/py38/lib/python3.8/site-packages/neutron_lib/context.py:43: DeprecationWarning: Using the 'user' argument is deprecated in version '2.18' and will be removed in version '3.0', please use the 'user_id' argument instead
2022-08-11 16:42:57.207404 | ubuntu-focal | super().__init__(
2022-08-11 16:42:57.207434 | ubuntu-focal |