In test_create_instance_with_neutronv2_fixed_ip_already_in_use of both
v2 and v3, these tests pass wrong parameters "fixed-ip" instead of
valid parameter "fixed_ip".
The purposes of these tests are to check the behaviors when passing
in-use addresses, but current tests contain two negative factors and
we cannot test the purposes now.
This patch fixes the parameters. This problem was detected through the
API validation works and Ic17d2227909c9180ca86c9d578dad4c73ec57dfc needs
this fixing.
Reviewed: https:/ /review. openstack. org/100770 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=32cc13365be 9baba7a1d50fae3 97f1b597ff505b
Committed: https:/
Submitter: Jenkins
Branch: master
commit 32cc13365be9bab a7a1d50fae397f1 b597ff505b
Author: Ken'ichi Ohmichi <email address hidden>
Date: Wed Jun 18 14:44:05 2014 +0900
Fix "fixed_ip" parameters in unit tests
In test_create_ instance_ with_neutronv2_ fixed_ip_ already_ in_use of both
v2 and v3, these tests pass wrong parameters "fixed-ip" instead of
valid parameter "fixed_ip".
The purposes of these tests are to check the behaviors when passing
in-use addresses, but current tests contain two negative factors and
we cannot test the purposes now.
This patch fixes the parameters. This problem was detected through the 80ca86c9d578dad 4c73ec57dfc needs
API validation works and Ic17d2227909c91
this fixing.
Change-Id: I4d54a1522983c9 96431b995ed157b 32d13c3bc88
Closes-Bug: #1331317