MCPcopy
hub / github.com/aio-libs/aiohttp / test_add_url_invalid3

Method test_add_url_invalid3

tests/test_urldispatch.py:159–162  ·  tests/test_urldispatch.py::TestUrlDispatcher.test_add_url_invalid3
(self)

Source from the content-addressed store, hash-verified

157 self.router.add_route(&class="cm">#x27;postclass="st">', '/post/{id{}}', handler)
158
159 def test_add_url_invalid3(self):
160 handler = self.make_handler()
161 with self.assertRaises(ValueError):
162 self.router.add_route(&class="cm">#x27;postclass="st">', '/post/{id{}', handler)
163
164 def test_add_url_invalid4(self):
165 handler = self.make_handler()

Callers

nothing calls this directly

Calls 2

make_handlerMethod · 0.95
add_routeMethod · 0.45

Tested by

no test coverage detected