(self)
| 339 | r"<DynamicRoute 'name' \[GET\] /get/{path}") |
| 340 | |
| 341 | def test_static_repr(self): |
| 342 | self.router.add_static('/get', os.path.dirname(aiohttp.__file__), |
| 343 | name='name') |
| 344 | self.assertRegex(repr(next(iter(self.router['name']))), |
| 345 | r"<StaticRoute 'name' \[GET\] /get/") |
| 346 | |
| 347 | def test_static_adds_slash(self): |
| 348 | route = self.router.add_static('/prefix', |
nothing calls this directly
no test coverage detected