MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_source_modified_unmodified

Method test_source_modified_unmodified

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

Source from the content-addressed store, hash-verified

218 )
219
220 def test_source_modified_unmodified(self):
221 uowcommit, a1, b1, a_mapper, b_mapper = self._fixture()
222 a1.obj().id = 10
223 pairs = [(a_mapper.c.id, b_mapper.c.id)]
224 eq_(sync._source_modified(uowcommit, a1, a_mapper, pairs), False)
225
226 def test_source_modified_no_pairs(self):
227 uowcommit, a1, b1, a_mapper, b_mapper = self._fixture()

Callers

nothing calls this directly

Calls 2

_fixtureMethod · 0.95
eq_Function · 0.90

Tested by

no test coverage detected