Subclass for testing after_init.
| 183 | |
| 184 | |
| 185 | class AfterInitFormatter(base.BaseFormatter): |
| 186 | """Subclass for testing after_init.""" |
| 187 | |
| 188 | def after_init(self): |
| 189 | """Define method to verify operation.""" |
| 190 | self.post_initialized = True |
| 191 | |
| 192 | |
| 193 | def test_after_init_is_always_called(): |
no outgoing calls