MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_row_keys_removed

Method test_row_keys_removed

test/sql/test_resultset.py:264–270  ·  view source on GitHub ↗
(self, connection)

Source from the content-addressed store, hash-verified

262 r.keys()
263
264 def test_row_keys_removed(self, connection):
265 r = connection.execute(
266 text("select * from users where user_id=2")
267 ).first()
268
269 with expect_raises(AttributeError):
270 r.keys()
271
272 def test_row_contains_key_no_strings(self, connection):
273 users = self.tables.users

Callers

nothing calls this directly

Calls 5

textFunction · 0.90
expect_raisesFunction · 0.90
firstMethod · 0.45
executeMethod · 0.45
keysMethod · 0.45

Tested by

no test coverage detected