MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_scalar_plus_base

Method test_scalar_plus_base

test/base/test_result.py:366–375  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

364 eq_(r1.fetchone(), (2, 1, 2))
365
366 def test_scalar_plus_base(self):
367 r1 = self._fixture()
368
369 m1 = r1.scalars()
370
371 # base is not affected
372 eq_(r1.fetchone(), (1, 1, 1))
373
374 # scalars
375 eq_(m1.first(), 2)
376
377 def test_index_extra(self):
378 ex1a, ex1b, ex2, ex3a, ex3b = (

Callers

nothing calls this directly

Calls 5

_fixtureMethod · 0.95
eq_Function · 0.90
scalarsMethod · 0.45
fetchoneMethod · 0.45
firstMethod · 0.45

Tested by

no test coverage detected