MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_quote_flag_propagate_index

Method test_quote_flag_propagate_index

test/sql/test_quote.py:838–844  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

836 )
837
838 def test_quote_flag_propagate_index(self):
839 m = MetaData()
840 t = Table("t", m, Column("x", Integer, quote=True))
841 idx = Index("foo", t.c.x)
842 self.assert_compile(
843 schema.CreateIndex(idx), 'CREATE INDEX foo ON t ("x")'
844 )
845
846 def test_quote_flag_propagate_anon_label(self):
847 m = MetaData()

Callers

nothing calls this directly

Calls 5

MetaDataClass · 0.90
TableClass · 0.90
ColumnClass · 0.90
IndexClass · 0.90
assert_compileMethod · 0.80

Tested by

no test coverage detected