'Test that the connection_info for Nova makes sense.'

@mock.patch('socket.gethostbyname', return_value='123.123.123.123')
def test_initialize_connection(self, moch_ghn):

    volume = {'name': '123', 'provider_id': 'spacey'}
    conn = self.driver.initialize_connection(volume, None)
    expected = {'name': 'spacey', 'noremovehost': 'thisserver'}
    self.assertDictEqual(expected, conn['data'])
