summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorSulochan Acharya <sulochan@gmail.com>2012-08-21 11:53:04 -0500
committerSulochan Acharya <sulochan@gmail.com>2012-08-22 09:13:03 -0500
commit5dc0039c85957502db36b7da5558f9449cd03ada (patch)
treeee771b194da24755ecc0552b59c32e9d30ed18e9 /tools
parentb090bdd0887317bb4f1f2a8ecec577b16fb94363 (diff)
downloadnova-5dc0039c85957502db36b7da5558f9449cd03ada.tar.gz
nova-5dc0039c85957502db36b7da5558f9449cd03ada.tar.xz
nova-5dc0039c85957502db36b7da5558f9449cd03ada.zip
Adds missing assertion to FloatingIP tests
Adding assertions to some tests to ensure that we catch the return status_int. Found that test_floating_ip_disassociate would actually fail the test if status_int was caught. Adding the get_instance_by_floating_ip_addr stub to to the disassociate test to return the test instance on IP match. This is required because get_instance_by_floating_ip_addr is stubbed in setup to return None. Fixes bug 1039432. Also making a minor change in test_bad_param_in_remove_floating_ip which should call _remove_floating_ip rather than _add_floating_ip. Change-Id: Id43f785bb0e6b7405e2d292292c4126d7ed656cb
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions