(self)
| 154 | ) |
| 155 | |
| 156 | def test_clear_unmapped(self): |
| 157 | uowcommit, a1, b1, a_mapper, b_mapper = self._fixture() |
| 158 | pairs = [(a_mapper.c.id, a_mapper.c.foo)] |
| 159 | assert_raises_message( |
| 160 | orm_exc.UnmappedColumnError, |
| 161 | "Can't execute sync rule for destination " |
| 162 | r"column 't1.foo'; mapper 'Mapper\[B\(t2\)\]' does not " |
| 163 | "map this column.", |
| 164 | sync._clear, |
| 165 | b1, |
| 166 | b_mapper, |
| 167 | pairs, |
| 168 | ) |
| 169 | |
| 170 | def test_update(self): |
| 171 | uowcommit, a1, b1, a_mapper, b_mapper = self._fixture() |
nothing calls this directly
no test coverage detected