MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_result

Method test_result

test/orm/test_bundle.py:312–321  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

310 )
311
312 def test_result(self):
313 Data = self.classes.Data
314 sess = fixture_session()
315
316 b1 = Bundle("b1", Data.d1, Data.d2)
317
318 eq_(
319 sess.query(b1).filter(b1.c.d1.between("d3d1", "d5d1")).all(),
320 [(("d3d1", "d3d2"),), (("d4d1", "d4d2"),), (("d5d1", "d5d2"),)],
321 )
322
323 def test_subclass(self):
324 Data = self.classes.Data

Callers

nothing calls this directly

Calls 7

fixture_sessionFunction · 0.90
BundleClass · 0.90
eq_Function · 0.90
allMethod · 0.45
filterMethod · 0.45
queryMethod · 0.45
betweenMethod · 0.45

Tested by

no test coverage detected