MCPcopy Create free account
hub / github.com/MagicStack/asyncpg / test_record_values

Method test_record_values

tests/test_record.py:150–155  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

148 self.assertEqual(tuple(r), (42, 43))
149
150 def test_record_values(self):
151 r = Record(R_AB, (42, 43))
152 vv = r.values()
153 self.assertEqual(tuple(vv), (42, 43))
154 self.assertTrue(
155 repr(vv).startswith('<asyncpg.protocol.record.RecordIterator '))
156
157 def test_record_keys(self):
158 r = Record(R_AB, (42, 43))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected