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

Method test_result

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

Source from the content-addressed store, hash-verified

306 )
307
308 def test_result(self):
309 Data = self.classes.Data
310 sess = fixture_session()
311
312 b1 = Bundle("b1", Data.d1, Data.d2)
313
314 eq_(
315 sess.query(b1).filter(b1.c.d1.between("d3d1", "d5d1")).all(),
316 [(("d3d1", "d3d2"),), (("d4d1", "d4d2"),), (("d5d1", "d5d2"),)],
317 )
318
319 def test_subclass(self):
320 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