MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_object_init

Method test_object_init

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

Source from the content-addressed store, hash-verified

1833 eq_(self._someattr_history(f), ((), (), ()))
1834
1835 def test_object_init(self):
1836 Foo = self._fixture(
1837 uselist=False, useobject=True, active_history=False
1838 )
1839 f = Foo()
1840 eq_(self._someattr_history(f), ((), (), ()))
1841
1842 def test_object_init_active_history(self):
1843 Foo = self._fixture(uselist=False, useobject=True, active_history=True)

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