def test_sqlite():
    from openid.store import sqlstore
    try:
        from pysqlite2 import dbapi2 as sqlite
    except __HOLE__:
        pass
    else:
        conn = sqlite.connect(':memory:')
        store = sqlstore.SQLiteStore(conn)
        store.createTables()
        testStore(store)
dataset/ETHPy150Open CollabQ/CollabQ/openid/test/storetest.py/test_sqlite