MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_insert_both

Method test_insert_both

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

Source from the content-addressed store, hash-verified

529 )
530
531 def test_insert_both(self):
532 asserter = self._test_insert(self.classes.PersonBoth)
533 asserter.assert_(
534 CompiledSQL(
535 "INSERT INTO people_both (person_id, name) "
536 "VALUES (:id_key, :name_key)",
537 [{"id_key": 5, "name_key": "thename"}],
538 )
539 )
540
541 @testing.combinations(
542 ("states",),

Callers

nothing calls this directly

Calls 3

_test_insertMethod · 0.95
CompiledSQLClass · 0.90
assert_Method · 0.45

Tested by

no test coverage detected