MCPcopy
hub / github.com/psycopg/psycopg / assert_record

Method assert_record

tests/fix_faker.py:218–223  ·  view source on GitHub ↗
(self, got, want)

Source from the content-addressed store, hash-verified

216 )
217
218 def assert_record(self, got, want):
219 for spec, g, w in zip(self.schema, got, want):
220 if g is None and w is None:
221 continue
222 m = self.get_matcher(spec)
223 m(spec, g, w)
224
225 def get_supported_types(self) -> set[type]:
226 dumpers = self.conn.adapters._dumpers[self.format]

Callers 8

workFunction · 0.80
test_copy_table_acrossFunction · 0.80
workFunction · 0.80
test_copy_table_acrossFunction · 0.80
test_randomFunction · 0.80
test_randomFunction · 0.80
workFunction · 0.80
workFunction · 0.80

Calls 1

get_matcherMethod · 0.95

Tested by 8

workFunction · 0.64
test_copy_table_acrossFunction · 0.64
workFunction · 0.64
test_copy_table_acrossFunction · 0.64
test_randomFunction · 0.64
test_randomFunction · 0.64
workFunction · 0.64
workFunction · 0.64