(self)
| 113 | ) |
| 114 | |
| 115 | def test_populate_unmapped_dest(self): |
| 116 | uowcommit, a1, b1, a_mapper, b_mapper = self._fixture() |
| 117 | pairs = [(a_mapper.c.id, a_mapper.c.id)] |
| 118 | assert_raises_message( |
| 119 | orm_exc.UnmappedColumnError, |
| 120 | r"Can't execute sync rule for destination " |
| 121 | r"column 't1.id'; " |
| 122 | r"mapper 'Mapper\[B\(t2\)\]' does not map this column.", |
| 123 | sync._populate, |
| 124 | a1, |
| 125 | a_mapper, |
| 126 | b1, |
| 127 | b_mapper, |
| 128 | pairs, |
| 129 | uowcommit, |
| 130 | False, |
| 131 | ) |
| 132 | |
| 133 | def test_clear(self): |
| 134 | uowcommit, a1, b1, a_mapper, b_mapper = self._fixture() |
nothing calls this directly
no test coverage detected