

def test_custom(self):
    dbapi = MockDBAPI(foober=12, lala=18, hoho={
        'this': 'dict',
    }, fooz='somevalue')

    def connect():
        return dbapi.connect(foober=12, lala=18, fooz='somevalue', hoho={
            'this': 'dict',
        })
    e = create_engine('postgresql://', creator=connect, module=dbapi, _initialize=False)
    e.connect()

dataset/ETHPy150Open zzzeek/sqlalchemy/test/engine/test_parseconnect.py CreateEngineTest.test_custom/original