We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23f41e1 commit 83914f8Copy full SHA for 83914f8
tests/unit/test_param_types.py
@@ -70,3 +70,20 @@ def test_it(self):
70
found = param_types.PG_JSONB
71
72
self.assertEqual(found, expected)
73
+
74
75
+class Test_OidParamType(unittest.TestCase):
76
+ def test_it(self):
77
+ from google.cloud.spanner_v1 import Type
78
+ from google.cloud.spanner_v1 import TypeCode
79
+ from google.cloud.spanner_v1 import TypeAnnotationCode
80
+ from google.cloud.spanner_v1 import param_types
81
82
+ expected = Type(
83
+ code=TypeCode.INT64,
84
+ type_annotation=TypeAnnotationCode.PG_OID,
85
+ )
86
87
+ found = param_types.PG_OID
88
89
+ self.assertEqual(found, expected)
0 commit comments