openstack-python-openstackc.../openstackclient/tests/unit
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
..
api Make container list --all work 2020-05-16 14:40:28 +00:00
common project cleanup 2021-02-02 08:14:34 +00:00
compute Replace assertItemsEqual with assertCountEqual 2023-01-31 16:58:48 +01:00
identity Fix "access rule" commands to only use ID 2023-07-14 14:00:08 -04:00
image Fix: create image from volume command 2022-07-04 11:35:48 +00:00
integ Remove os-client-config references 2020-06-08 16:20:28 -05:00
network Replace assertItemsEqual with assertCountEqual 2021-08-24 09:21:45 +00:00
object Remove usage of six 2020-10-07 02:15:25 +00:00
volume Fix: create image from volume command 2022-07-04 11:35:48 +00:00
__init__.py move unit tests to new "unit" test module 2016-09-08 15:19:50 -07:00
fakes.py Remove usage of six 2020-10-07 02:15:25 +00:00
test_shell.py Remove oslo.utils 2020-10-12 17:29:57 +01:00
utils.py Make use of comparable 'FormattableColumn' subclasses 2020-12-09 15:17:25 +00:00