Beispiel #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)
Beispiel #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)
def test_insert_row():
    common = SQLCommon(app_config,
                       inspect_cols_query=FIND_COLUMNS_STMT,
                       baseClass=SQLiteFeedDestination)

    common.test_insert_row(result_payload)
def test_get_parameters():
    common = SQLCommon(app_config,
                       inspect_cols_query=FIND_COLUMNS_STMT,
                       baseClass=SQLiteFeedDestination)

    common.test_get_parameters()
Beispiel #6
0
def test_droptable():
    common = SQLCommon(app_config)

    common.test_droptable()
Beispiel #7
0
def test_altertable():
    common = SQLCommon(app_config)

    common.test_altertable()
Beispiel #8
0
def test_delete_row():
    common = SQLCommon(app_config)

    common.test_delete_row()
Beispiel #9
0
def test_insert_row():
    common = SQLCommon(app_config,
                       inspect_cols_query=FIND_COLUMNS_STMT,
                       table_name='ALL_TYPES')

    common.test_insert_row(result_payload)
Beispiel #10
0
def test_insert_row():
    common = SQLCommon(app_config, setup_stmt=SETUP_STMT)

    common.test_insert_row(result_payload)
Beispiel #11
0
def test_createtable():
    common = SQLCommon(app_config)

    common.test_createtable()
Beispiel #12
0
def test_get_parameters():
    common = SQLCommon(app_config)

    common.test_get_parameters()
Beispiel #13
0
def test_droptable():
    common = SQLCommon(app_config,
                       inspect_cols_query=FIND_COLUMNS_STMT,
                       table_name='ALL_TYPES')

    common.test_droptable()
Beispiel #14
0
def test_altertable():
    common = SQLCommon(app_config,
                       inspect_cols_query=FIND_COLUMNS_STMT,
                       table_name='ALL_TYPES')

    common.test_altertable(col_type='NVARCHAR2(2000)')
Beispiel #15
0
def test_update_row():
    common = SQLCommon(app_config,
                       inspect_cols_query=FIND_COLUMNS_STMT,
                       table_name='ALL_TYPES')

    common.test_update_row(MAX_TEXT_SIZE, result_payload)
def test_update_row():
    common = SQLCommon(app_config,
                       inspect_cols_query=FIND_COLUMNS_STMT,
                       baseClass=SQLiteFeedDestination)

    common.test_update_row(MAX_TEXT_SIZE, result_payload)
def test_altertable():
    common = SQLCommon(app_config,
                       inspect_cols_query=FIND_COLUMNS_STMT,
                       baseClass=SQLiteFeedDestination)

    common.test_altertable()
Beispiel #18
0
def test_update_row():
    common = SQLCommon(app_config, setup_stmt=SETUP_STMT)

    common.test_update_row(MAX_TEXT_SIZE, result_payload)