Esempio n. 1
0
def test_blob():
    common = SQLCommon(app_config,
                       table_name=BLOB_TABLE_NAME,
                       table_def=blob_fields)

    common.test_createtable()

    common.test_insert_blob(PostgreSQL96Dialect.make_blob)
Esempio n. 2
0
def test_blob():
    common = SQLCommon(app_config,
                       inspect_cols_query=FIND_COLUMNS_STMT,
                       table_name=BLOB_TABLE_NAME.upper(),
                       table_def=blob_fields)

    common.test_createtable()

    common.test_insert_blob(None)
def test_blob():
    common = SQLCommon(app_config,
                       table_name=BLOB_TABLE_NAME,
                       inspect_cols_query=FIND_COLUMNS_STMT,
                       table_def=blob_fields,
                       baseClass=SQLiteFeedDestination)

    common.test_createtable()

    common.test_insert_blob(SqliteDialect.make_blob)