MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_source_modified_modified

Method test_source_modified_modified

test/orm/test_sync.py:230–236  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

228 eq_(sync._source_modified(uowcommit, a1, a_mapper, []), False)
229
230 def test_source_modified_modified(self):
231 uowcommit, a1, b1, a_mapper, b_mapper = self._fixture()
232 a1.obj().id = 10
233 a1._commit_all(a1.dict)
234 a1.obj().id = 12
235 pairs = [(a_mapper.c.id, b_mapper.c.id)]
236 eq_(sync._source_modified(uowcommit, a1, a_mapper, pairs), True)
237
238 def test_source_modified_composite(self):
239 uowcommit, a1, b1, a_mapper, b_mapper = self._fixture()

Callers

nothing calls this directly

Calls 3

_fixtureMethod · 0.95
eq_Function · 0.90
_commit_allMethod · 0.80

Tested by

no test coverage detected