openstack-python-openstackc.../openstackclient
melanie witt 4f6fe1c0fd Fix TestListMigrationV223 test class MIGRATION_COLUMNS
Currently only the test_server_migration_list adds the 'Id' and 'Type'
columns to the expected output, so if the
test_server_migration_list_no_options test is run by itself, it fails
as the actual response contains 'Id' and 'Type' but the reference does
not. This example run fails:

  tox -epy38 test_server_migration_list_no_options

The reason the tests pass in the gate is because
test_server_migration_list (which adds the 'Id' and 'Type' columns to
self.MIGRATION_COLUMNS) appears to always run before
test_server_migration_list_no_options, so the latter test gets the
benefit of the former test's column additions.

This changes the test class to just include the 'Id' and 'Type' columns
all the time as they are always returned in microversion 2.23 anyway.

Story: 2009079
Task: 42891

Change-Id: I2c97e9f64790b5e978e4d04230d45b8e343b53d4
2021-07-27 02:20:39 +00:00
..
api Remove usage of six 2020-10-07 02:15:25 +00:00
common Merge "Add support for token caching" 2021-04-09 23:29:03 +00:00
compute Merge "compute: Fix typo" 2021-07-02 18:29:30 +00:00
identity Merge "Add name and enabled param in ListDomain parser" 2020-12-22 13:30:59 +00:00
image Implements hide image 2021-03-25 08:57:31 +01:00
locale/tr_TR/LC_MESSAGES Imported Translations from Zanata 2018-03-01 07:25:50 +00:00
network Add support for Neutron's L3 conntrack helper resource 2021-06-07 15:34:30 +02:00
object Add storage policy option to create container command 2020-02-19 10:08:48 +13:00
tests Fix TestListMigrationV223 test class MIGRATION_COLUMNS 2021-07-27 02:20:39 +00:00
volume volume: Add more missing 'volume backup *' options 2021-06-10 11:21:25 +01:00
__init__.py Clean up W503 and E402 pep8 errors 2018-04-15 12:23:06 +09:00
i18n.py Remove log translations 2017-03-21 17:23:09 +08:00
shell.py Remove usage of six 2020-10-07 02:15:25 +00:00