'test terminate connection.'

@mock.patch.object(hbsd_snm2.HBSDSNM2, 'exec_hsnm', side_effect=_exec_hsnm)
def test_terminate_connection_error(self, arg1):

    connector = {'ip': '0xc0a80100'}
    self.assertRaises(exception.HBSDError, self.driver.terminate_connection, self._VOLUME, connector)
    return
