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

Method test_multiple_participating

test/sql/test_metadata.py:5452–5476  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

5450 )
5451
5452 def test_multiple_participating(self):
5453 with self._fixture():
5454 idx = Index(
5455 "a",
5456 "b",
5457 "c",
5458 participating_x=7,
5459 participating2_x=15,
5460 participating2_y="lazy",
5461 )
5462 eq_(
5463 idx.dialect_options,
5464 {
5465 "participating": {"x": 7, "y": False, "z_one": None},
5466 "participating2": {"x": 15, "y": "lazy", "pp": "default"},
5467 },
5468 )
5469 eq_(
5470 idx.dialect_kwargs,
5471 {
5472 "participating_x": 7,
5473 "participating2_x": 15,
5474 "participating2_y": "lazy",
5475 },
5476 )
5477
5478 def test_foreign_key_propagate(self):
5479 with self._fixture():

Callers

nothing calls this directly

Calls 3

_fixtureMethod · 0.95
IndexClass · 0.90
eq_Function · 0.90

Tested by

no test coverage detected