openstack-python-openstackc.../openstackclient/tests/unit/identity/v3
Matt Anson fb8cdd4441 Ensure show on absent appcreds raises exception
Currently, running ``application credential show`` on a
non-existent appcred will exit normally and display a
formatted application credential with no data, despite
the Keystone API returning a 404.

Ensure that querying a non-existent application
credential raises an exception message and an exit-code
1 to the user.

Closes-Bug: #2126565
Change-Id: I597d2d4064f1020c5ac40862ecc556f3c94b53eb
Signed-off-by: Matt Anson <matta@stackhpc.com>
2025-10-01 14:36:17 +01:00
..
__init__.py move unit tests to new "unit" test module 2016-09-08 15:19:50 -07:00
fakes.py trivial: Prepare for pyupgrade pre-commit hook 2024-04-23 12:24:23 +01:00
test_access_rule.py Prepare for ruff bump 2025-03-19 12:04:39 +00:00
test_application_credential.py Ensure show on absent appcreds raises exception 2025-10-01 14:36:17 +01:00
test_catalog.py tests: Stop setting attributes on class 2024-12-16 18:23:09 +00:00
test_consumer.py trivial: Prepare for pyupgrade pre-commit hook 2024-04-23 12:24:23 +01:00
test_credential.py Fix credential creation 2025-02-25 10:30:22 -08:00
test_domain.py identity: Remove unnecessary helper 2025-05-26 16:12:28 +01:00
test_endpoint.py identity: Migrate 'endpoint' commands to SDK 2025-03-31 16:58:27 -07:00
test_endpoint_group.py trivial: Prepare for pyupgrade pre-commit hook 2024-04-23 12:24:23 +01:00
test_group.py Identity: Migrate 'group' commands to SDK 2025-05-19 15:39:18 -07:00
test_identity_provider.py trivial: Prepare for pyupgrade pre-commit hook 2024-04-23 12:24:23 +01:00
test_implied_role.py trivial: Prepare for pyupgrade pre-commit hook 2024-04-23 12:24:23 +01:00
test_limit.py pre-commit: Migrate from black to ruff format 2024-08-29 15:55:39 +01:00
test_mappings.py Prepare for ruff bump 2025-03-19 12:04:39 +00:00
test_oauth.py trivial: Prepare for pyupgrade pre-commit hook 2024-04-23 12:24:23 +01:00
test_project.py identity: Remove unnecessary helper 2025-05-26 16:12:28 +01:00
test_protocol.py trivial: Prepare for pyupgrade pre-commit hook 2024-04-23 12:24:23 +01:00
test_region.py identity: Migrate region commands to SDK 2024-11-20 23:26:30 +00:00
test_registered_limit.py trivial: Prepare for pyupgrade pre-commit hook 2024-04-23 12:24:23 +01:00
test_role.py identity: Remove unnecessary helper 2025-05-26 16:12:28 +01:00
test_role_assignment.py tests: Stop setting attributes on class 2024-12-16 18:23:09 +00:00
test_service.py identity: in service set command, don't pass the enable option when it is None 2024-09-30 13:45:03 +02:00
test_service_provider.py identity: Migrate 'service provider' commands to SDK 2024-12-11 22:37:44 +00:00
test_token.py tests: Stop setting attributes on class 2024-12-16 18:23:09 +00:00
test_trust.py identity: Fix 'trust' commands to work with SDK 2025-03-11 12:31:09 -05:00
test_unscoped_saml.py trivial: Prepare for pyupgrade pre-commit hook 2024-04-23 12:24:23 +01:00
test_user.py Fix missing 'options' field in 'user show' command 2025-05-20 23:46:39 +09:00