def test_urlattr(self):

        e = create_engine('mysql://scott:tiger@localhost/test',
                          module=mock_dbapi, _initialize=False)
        u = url.make_url('mysql://scott:tiger@localhost/test')
        e2 = create_engine(u, module=mock_dbapi, _initialize=False)
        assert e.url.drivername == e2.url.drivername == 'mysql'
        assert e.url.username == e2.url.username == 'scott'
        assert e2.url is u
        assert str(u) == 'mysql://scott:tiger@localhost/test'
        assert repr(u) == 'mysql://scott:***@localhost/test'
        assert repr(e) == 'Engine(mysql://scott:***@localhost/test)'
        assert repr(e2) == 'Engine(mysql://scott:***@localhost/test)'
Extract value from SET output
dataset/ETHPy150Open zzzeek/sqlalchemy/test/engine/test_parseconnect.py/CreateEngineTest.test_urlattr--crossover with--dataset/ETHPy150Open jakev/dtf/src/dtf/core/cmds/init.py/get_set_value