(self)
| 247 | eq_(sync._source_modified(uowcommit, a1, a_mapper, pairs), True) |
| 248 | |
| 249 | def test_source_modified_composite_unmodified(self): |
| 250 | uowcommit, a1, b1, a_mapper, b_mapper = self._fixture() |
| 251 | a1.obj().foo = 10 |
| 252 | a1._commit_all(a1.dict) |
| 253 | pairs = [ |
| 254 | (a_mapper.c.id, b_mapper.c.id), |
| 255 | (a_mapper.c.foo, b_mapper.c.id), |
| 256 | ] |
| 257 | eq_(sync._source_modified(uowcommit, a1, a_mapper, pairs), False) |
| 258 | |
| 259 | def test_source_modified_no_unmapped(self): |
| 260 | uowcommit, a1, b1, a_mapper, b_mapper = self._fixture() |
nothing calls this directly
no test coverage detected