The SSH Validate call needs to be checked before passing tests.
test_ssh_client_fip_before_active and test_ssh_client_fip_after_active
run the SSH Verify function, but do not check the return value.
You will see an error in the test log file, but the test will
appear to have passed.
JIRA: SNAPS-45
Added an Assert True test to the SSH Validate return.
Change-Id: Ib86ec38c7b5a64061a1ace4293336e3021c59013
Signed-off-by: randyl <r.levensalor@cablelabs.com>
self.assertTrue(inst_creator.vm_active(block=True))
self.assertEquals(vm_inst, inst_creator.get_vm_inst())
- validate_ssh_client(inst_creator)
+ self.assertTrue(validate_ssh_client(inst_creator))
def test_ssh_client_fip_after_active(self):
"""
self.assertTrue(inst_creator.vm_active(block=True))
self.assertEquals(vm_inst, inst_creator.get_vm_inst())
- validate_ssh_client(inst_creator)
+ self.assertTrue(validate_ssh_client(inst_creator))
# TODO - Determine how allowed_address_pairs is supposed to operate before continuing this test
# see http://docs.openstack.org/developer/dragonflow/specs/allowed_address_pairs.html for a functional description