MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_scalar_one

Method test_scalar_one

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

Source from the content-addressed store, hash-verified

646 eq_(row, (1, 1, 1))
647
648 def test_scalar_one(self):
649 result = self._fixture(num_rows=1)
650
651 row = result.scalar_one()
652 eq_(row, 1)
653
654 def test_scalars_plus_one(self):
655 result = self._fixture(num_rows=1)

Callers

nothing calls this directly

Calls 3

_fixtureMethod · 0.95
eq_Function · 0.90
scalar_oneMethod · 0.45

Tested by

no test coverage detected