python-novaclient/novaclient/tests/unit
Matt Riedemann b269aa4d7f Fix host-evacuate-live for 2.25 microversion
Change I01b22593724616bc0a7793c509ecabf095d6927d made the
live_migrate() method in the ServerManager conditional on the
API version requested. This broke the host-evacuate-live
command which is calling ServerManager.live_migrate() directly
with one too many arguments for the v2.25 version of the method.

This updates the host-evacuate-live shell to behave like the
live-migration method and be aware of the API version when
calling the live_migrate() method.

Related to blueprint making-live-migration-api-friendly

Conflicts:
        novaclient/v2/contrib/host_evacuate_live.py

NOTE(mriedem): The conflict is due to
93913c84b6 not being in stable/mitaka.
Also note that this is not for a blueprint, it's just related
to a blueprint that landed in mitaka but introduced a regression
here when support was added for that blueprint with the 2.25
microversion.

Change-Id: I4dbeb6ebe03f03799b706be2d787d21484b5c664
Closes-Bug: #1561938
(cherry picked from commit 90fbbb2956)
2016-03-29 17:08:47 -04:00
..
fixture_data [microversion] Bump to 2.25 2016-03-02 17:24:17 +08:00
v2 Fix host-evacuate-live for 2.25 microversion 2016-03-29 17:08:47 -04:00
__init__.py Move unit tests into unit test directory 2015-01-27 13:06:06 -08:00
fake_actions_module.py [microversions] fix help msg for versioned args 2016-02-24 20:10:31 +02:00
fakes.py Add wrapper classes for return-request-id-to-caller 2016-01-26 23:46:10 +00:00
idfake.pem Move unit tests into unit test directory 2015-01-27 13:06:06 -08:00
test_api_versions.py [microversions] share one object for shell arguments 2015-12-22 15:17:12 +02:00
test_auth_plugins.py Test: Clean v2 client userwarning 2016-01-12 12:05:50 +08:00
test_base.py Add wrapper classes for return-request-id-to-caller 2016-01-26 23:46:10 +00:00
test_client.py Add a way to discover only contrib extensions 2016-02-19 11:42:24 +00:00
test_discover.py Make _discover_extensions public 2015-05-06 14:10:59 +08:00
test_http.py Ensure the use of volume endpoint in volumes apis 2015-03-17 01:19:11 +00:00
test_service_catalog.py Migrate to keystoneauth from keystoneclient 2015-12-12 20:39:57 -08:00
test_shell.py Merge "Use assertIsNone instead of assertEqual(None, ***)" 2016-02-24 23:02:40 +00:00
test_utils.py [microversions] Enable 2.21 2016-02-24 20:57:34 +02:00
utils.py Add return-request-id-to-caller function(1/5) 2016-01-27 11:44:19 +09:00