openstack-python-openstackc.../openstackclient/identity/v3
Chaemin-Lim eea369e73c Fix incorrect warning with --password-prompt option
When creating a user with the --password-prompt option, a warning is
incorrectly displayed stating that no password was supplied, even though
a password was entered. This occurs because the code checks parsed_args.password
instead of the password variable that actually stores the prompted password.

This patch fixes the issue by checking the 'password' variable
instead of 'parsed_args.password' in the warning condition. A test
case has been added to verify that no warning is displayed when
using --password-prompt and entering a password.

Closes-Bug: #2091836
Change-Id: Ib3ddc7e400ee7988f605c00db534bccc3617d982
2025-05-19 16:12:06 +09:00
..
__init__.py Remove copyright from empty files 2014-01-20 17:28:13 +04:00
access_rule.py Prepare for ruff bump 2025-03-19 12:04:39 +00:00
application_credential.py identity: Fix listing of applications credentials by user 2025-05-15 15:59:34 +01:00
catalog.py trivial: Prepare for pyupgrade pre-commit hook 2024-04-23 12:24:23 +01:00
consumer.py Prepare for ruff bump 2025-03-19 12:04:39 +00:00
credential.py Prepare for ruff bump 2025-03-19 12:04:39 +00:00
domain.py Prepare for ruff bump 2025-03-19 12:04:39 +00:00
ec2creds.py Prepare for ruff bump 2025-03-19 12:04:39 +00:00
endpoint.py typing: Indicate another tuple to be extended 2025-04-01 13:14:47 +01:00
endpoint_group.py Prepare for ruff bump 2025-03-19 12:04:39 +00:00
federation_protocol.py trivial: Prepare for pyupgrade pre-commit hook 2024-04-23 12:24:23 +01:00
group.py typing: Indicate tuples to be extended 2025-03-31 17:48:36 +01:00
identity_provider.py Prepare for ruff bump 2025-03-19 12:04:39 +00:00
implied_role.py trivial: Prepare for pyupgrade pre-commit hook 2024-04-23 12:24:23 +01:00
limit.py typing: Resolve incompatible operand issues 2025-03-31 17:52:16 +01:00
mapping.py Prepare for ruff bump 2025-03-19 12:04:39 +00:00
policy.py typing: Indicate tuples to be extended 2025-03-31 17:48:36 +01:00
project.py typing: Indicate tuples to be extended 2025-03-31 17:48:36 +01:00
region.py Prepare for ruff bump 2025-03-19 12:04:39 +00:00
registered_limit.py typing: Resolve incompatible operand issues 2025-03-31 17:52:16 +01:00
role.py Remove use of formatter function 2025-04-01 16:42:13 +01:00
role_assignment.py Fix ignored --user-domain in role assignment list 2024-10-29 21:20:07 +09:00
service.py typing: Indicate tuples to be extended 2025-03-31 17:48:36 +01:00
service_provider.py Prepare for ruff bump 2025-03-19 12:04:39 +00:00
tag.py Prepare for ruff bump 2025-03-19 12:04:39 +00:00
token.py Prepare for ruff bump 2025-03-19 12:04:39 +00:00
trust.py Prepare for ruff bump 2025-03-19 12:04:39 +00:00
unscoped_saml.py Blacken openstackclient.identity 2023-05-10 10:51:30 +01:00
user.py Fix incorrect warning with --password-prompt option 2025-05-19 16:12:06 +09:00