openstack-python-openstackc.../openstackclient/tests/unit
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 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 Fix TestListMigrationV223 test class MIGRATION_COLUMNS 2021-07-27 02:20:39 +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
integ Remove os-client-config references 2020-06-08 16:20:28 -05:00
network Add support for Neutron's L3 conntrack helper resource 2021-06-07 15:34:30 +02:00
object Remove usage of six 2020-10-07 02:15:25 +00:00
volume volume: Add more missing 'volume backup *' options 2021-06-10 11:21:25 +01: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 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