deprecate got_first_request property

This commit is contained in:
David Lord 2023-02-23 09:28:42 -08:00
parent 704b68948f
commit 2a33c17854
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
3 changed files with 11 additions and 3 deletions

View file

@ -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: