MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / test_combined

Method test_combined

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

Source from the content-addressed store, hash-verified

5225 ) # still populates
5226
5227 def test_combined(self):
5228 with self._fixture():
5229 idx = Index(
5230 "a", "b", "c", participating_x=7, nonparticipating_y=True
5231 )
5232
5233 eq_(
5234 idx.dialect_options,
5235 {
5236 "participating": {"y": False, "x": 7, "z_one": None},
5237 "nonparticipating": {"y": True, "*": None},
5238 },
5239 )
5240 eq_(
5241 idx.dialect_kwargs,
5242 {"participating_x": 7, "nonparticipating_y": True},
5243 )
5244
5245 def test_multiple_participating(self):
5246 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