Skip to content

Commit 23f41e1

Browse files
committed
test: add tests for PG.OID bindings
1 parent 4605686 commit 23f41e1

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
@@ -2348,6 +2348,18 @@ def test_execute_sql_w_jsonb_bindings(
23482348
)
23492349

23502350

2351+
def test_execute_sql_w_jsonb_bindings(
2352+
not_emulator, not_google_standard_sql, sessions_database, database_dialect
2353+
):
2354+
_bind_test_helper(
2355+
sessions_database,
2356+
database_dialect,
2357+
spanner_v1.param_types.PG_OID,
2358+
123,
2359+
[123, 456],
2360+
)
2361+
2362+
23512363
def test_execute_sql_w_query_param_struct(sessions_database, not_postgres):
23522364
name = "Phred"
23532365
count = 123

0 commit comments

Comments
 (0)