MCPcopy Index your code
hub / github.com/sqlalchemy/sqlalchemy / test_insert_attrs

Method test_insert_attrs

test/orm/dml/test_bulk.py:521–529  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

519 )
520
521 def test_insert_attrs(self):
522 asserter = self._test_insert(self.classes.PersonAttrs)
523 asserter.assert_(
524 CompiledSQL(
525 "INSERT INTO people_attrs (person_id, name) "
526 "VALUES (:person_id, :name)",
527 [{"person_id": 5, "name": "thename"}],
528 )
529 )
530
531 def test_insert_both(self):
532 asserter = self._test_insert(self.classes.PersonBoth)

Callers

nothing calls this directly

Calls 3

_test_insertMethod · 0.95
CompiledSQLClass · 0.90
assert_Method · 0.45

Tested by

no test coverage detected