def getConnectionInfo(connectionList, id):
    conn = connectionList.get_connection(id)
    key = str(conn.id) + "." + conn.name + "." + conn.host
    passwd = DBLocator.keyChain.get_key(key)
    if conn is not None:
        config = {'id': conn.id,
                  'name': conn.name,
                  'host': conn.host,
                  'port': conn.port,
                  'user': conn.user,
                  'passwd': passwd,
                  'db': conn.database}
    else:
        config = None
    return config
Test the creation of a outlines in a XlsxWriter file. These tests are
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/gui/collection/explorer.py/getConnectionInfo--crossover with--dataset/ETHPy150Open jmcnamara/XlsxWriter/xlsxwriter/test/comparison/test_outline05.py/TestCompareXLSXFiles.test_create_file