(self)
| 54 | ) |
| 55 | |
| 56 | def test_table_create_after(self): |
| 57 | table, bind = self.table, self.bind |
| 58 | canary = mock.Mock() |
| 59 | event.listen(table, "after_create", canary.after_create) |
| 60 | |
| 61 | table.create(bind) |
| 62 | table.drop(bind) |
| 63 | eq_( |
| 64 | canary.mock_calls, |
| 65 | [ |
| 66 | mock.call.after_create( |
| 67 | table, |
| 68 | self.bind, |
| 69 | checkfirst=False, |
| 70 | _ddl_runner=mock.ANY, |
| 71 | _is_metadata_operation=mock.ANY, |
| 72 | ) |
| 73 | ], |
| 74 | ) |
| 75 | |
| 76 | def test_table_create_both(self): |
| 77 | table, bind = self.table, self.bind |
nothing calls this directly
no test coverage detected