openstack-python-openstackc.../openstackclient/tests/unit
Johannes Kulik aa227f8d16 Fix --security-group for port list
"openstack port list --security-group <id>" was using a filter that
didn't exist in `openstacksdk`: "security_groups". Up until version
1.0.1, `openstacksdk` did not support filtering `Port` objects by
security groups. Later versions will support the filtering (via [1]),
but the filter is called the same way the attribute on the `Port` object
is called: `security_group_ids`.

We're not bumping the `openstacksdk` version here, because the feature
we're using [1] is merged too recently and a bump of min requirements
thus unlikely. `openstackclient` continue to work with older versions of
`openstacksdk` - the "--security-group" filter will just do nothing like
before.

[1] https://review.opendev.org/c/openstack/openstacksdk/+/866008

Change-Id: I07088484592e99ce0a12b67d68a3e47ae7c7af81
2023-03-20 15:19:46 +01:00
..
api Make container list --all work 2020-05-16 14:40:28 +00:00
common Merge "quota: Deprecate "force" behavior for network quotas" 2022-11-05 09:24:51 +00:00
compute Merge "Update 'host list' and 'host show' command to use sdk" 2023-02-22 12:32:18 +00:00
identity Merge "Add authorization_ttl for identity providers" 2022-09-30 12:31:51 +00:00
image Merge "image: Add support for additional image import methods" 2023-01-25 18:04:00 +00:00
integ Remove os-client-config references 2020-06-08 16:20:28 -05:00
network Fix --security-group for port list 2023-03-20 15:19:46 +01:00
object Remove usage of six 2020-10-07 02:15:25 +00:00
volume Merge "Wait for volume being available to set bootable or readonly" 2023-02-22 12:32:20 +00:00
__init__.py move unit tests to new "unit" test module 2016-09-08 15:19:50 -07:00
fakes.py config: Also mask non-prefix config 2022-08-01 19:54:44 +09:00
test_shell.py Remove unnecessary test 2020-11-06 10:16:06 +00:00
utils.py Make use of comparable 'FormattableColumn' subclasses 2020-12-09 15:17:25 +00:00