MCPcopy Create free account
hub / github.com/zzzeek/sqlalchemy / test_empty_insert_pk3_fv

Method test_empty_insert_pk3_fv

test/dialect/sqlite/test_dialect.py:648–664  ·  view source on GitHub ↗
(self, connection)

Source from the content-addressed store, hash-verified

646 )
647
648 def test_empty_insert_pk3_fv(self, connection):
649 assert_raises(
650 exc.DBAPIError,
651 self._test_empty_insert,
652 connection,
653 Table(
654 "c",
655 MetaData(),
656 Column(
657 "x",
658 Integer,
659 primary_key=True,
660 server_default=FetchedValue(),
661 ),
662 Column("y", Integer, DefaultClause("123"), primary_key=True),
663 ),
664 )
665
666 def test_empty_insert_pk4(self, connection):
667 self._test_empty_insert(

Callers

nothing calls this directly

Calls 6

assert_raisesFunction · 0.90
TableClass · 0.90
MetaDataClass · 0.90
ColumnClass · 0.90
FetchedValueClass · 0.90
DefaultClauseClass · 0.90

Tested by

no test coverage detected