MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_scalar_init

Method test_scalar_init

test/orm/test_attributes.py:1828–1833  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1826 eq_(self._someattr_committed_state(f), 3)
1827
1828 def test_scalar_init(self):
1829 Foo = self._fixture(
1830 uselist=False, useobject=False, active_history=False
1831 )
1832 f = Foo()
1833 eq_(self._someattr_history(f), ((), (), ()))
1834
1835 def test_object_init(self):
1836 Foo = self._fixture(

Callers

nothing calls this directly

Calls 4

_fixtureMethod · 0.95
_someattr_historyMethod · 0.95
eq_Function · 0.90
FooClass · 0.70

Tested by

no test coverage detected