Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pallets/flask
/ test_method_route_no_methods
Function
test_method_route_no_methods
tests/test_basic.py:65–67 ·
view source on GitHub ↗
(app)
Source
from the content-addressed store, hash-verified
63
64
65
def
test_method_route_no_methods(app):
66
with
pytest.raises(TypeError):
67
app.get(
"/"
, methods=[
"GET"
,
"POST"
])
68
69
70
def
test_provide_automatic_options_attr():
Callers
nothing calls this directly
Calls
1
get
Method · 0.45
Tested by
no test coverage detected