(self)
| 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() |
| 240 | a1.obj().foo = 10 |
| 241 | a1._commit_all(a1.dict) |
| 242 | a1.obj().foo = 12 |
| 243 | pairs = [ |
| 244 | (a_mapper.c.id, b_mapper.c.id), |
| 245 | (a_mapper.c.foo, b_mapper.c.id), |
| 246 | ] |
| 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() |
nothing calls this directly
no test coverage detected