(self)
| 777 | self.assertEqual({'to': 'to'}, route.match('/path/to')) |
| 778 | |
| 779 | def test_deprecate_register_route(self): |
| 780 | route = PlainRoute('GET', lambda req: None, None, '/path') |
| 781 | with self.assertWarns(DeprecationWarning): |
| 782 | self.router.register_route(route) |
| 783 | |
| 784 | def test_error_on_double_route_adding(self): |
| 785 | resource = self.router.add_resource('/path') |
nothing calls this directly
no test coverage detected