(self)
| 194 | self.assertBody('test:plugin.cfg; tail', '/') |
| 195 | |
| 196 | def test_instance_method_wrapper(self): |
| 197 | class Plugin(object): |
| 198 | api=2 |
| 199 | def apply(self, callback, route): |
| 200 | return self.b |
| 201 | def b(self): return "Hello" |
| 202 | self.app.install(Plugin()) |
| 203 | self.assertBody('Hello', '/') |
| 204 | |
| 205 | def test_setup(self): |
| 206 | class Plugin(object): |
nothing calls this directly
no test coverage detected