Skip to content

Commit c8a5b65

Browse files
committed
test: add tests for PG.OID bindings
1 parent 630da4e commit c8a5b65

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

tests/system/test_session_api.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2261,6 +2261,18 @@ def test_execute_sql_w_jsonb_bindings(
22612261
)
22622262

22632263

2264+
def test_execute_sql_w_jsonb_bindings(
2265+
not_emulator, not_google_standard_sql, sessions_database, database_dialect
2266+
):
2267+
_bind_test_helper(
2268+
sessions_database,
2269+
database_dialect,
2270+
spanner_v1.param_types.PG_OID,
2271+
123,
2272+
[123, 456],
2273+
)
2274+
2275+
22642276
def test_execute_sql_w_query_param_struct(sessions_database, not_postgres):
22652277
name = "Phred"
22662278
count = 123

0 commit comments

Comments
 (0)