MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / test_row_keys_removed

Method test_row_keys_removed

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

Source from the content-addressed store, hash-verified

210 r.keys()
211
212 def test_row_keys_removed(self, connection):
213 r = connection.execute(
214 text("select * from users where user_id=2")
215 ).first()
216
217 with expect_raises(AttributeError):
218 r.keys()
219
220 def test_row_contains_key_no_strings(self, connection):
221 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