openstack-python-openstackc.../openstackclient/tests/unit/identity
Douglas Mendizábal ecaa2805dc Fix "access rule" commands to only use ID
This patch modifies the access rule commands to use only the resource
ID.  The previous logic incorrectly assumed that access rules have a
"name" property, which resulted in unexpected behaviors.

For example, "access rule delete {non-existent-id}" now results in a
"not found" error instead of sometimes deleting an unrelated rule.

Story: 2010775
Task: 48163
Change-Id: Ib5c3b7f86acf1dfe7cc76dfa99fa4c118388bd71
(cherry picked from commit 560f19b894)
2023-07-14 14:00:08 -04:00
..
v2_0 Replace assertItemsEqual with assertCountEqual 2021-08-24 09:21:45 +00:00
v3 Fix "access rule" commands to only use ID 2023-07-14 14:00:08 -04:00
__init__.py move unit tests to new "unit" test module 2016-09-08 15:19:50 -07:00