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