forked from orbit-oss/flask
deprecate got_first_request property
This commit is contained in:
parent
704b68948f
commit
2a33c17854
3 changed files with 11 additions and 3 deletions
|
|
@ -1657,7 +1657,6 @@ def test_no_setup_after_first_request(app, client):
|
|||
def index():
|
||||
return "Awesome"
|
||||
|
||||
assert not app.got_first_request
|
||||
assert client.get("/").data == b"Awesome"
|
||||
|
||||
with pytest.raises(AssertionError) as exc_info:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue