MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_use_object_init

Method test_use_object_init

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

Source from the content-addressed store, hash-verified

2356 is_true(attributes.instance_state(f).modified)
2357
2358 def test_use_object_init(self):
2359 Foo, Bar = self._two_obj_fixture(uselist=False)
2360 f = Foo()
2361 eq_(self._someattr_history(f), ((), (), ()))
2362
2363 def test_use_object_no_init_side_effect(self):
2364 Foo, Bar = self._two_obj_fixture(uselist=False)

Callers

nothing calls this directly

Calls 4

_two_obj_fixtureMethod · 0.95
_someattr_historyMethod · 0.95
eq_Function · 0.90
FooClass · 0.70

Tested by

no test coverage detected