CODEFOSSIL · flask
FlaskClient
class in src/flask/testing.py:109 · Born 2010-07-05 (DERIVED, confidence 1.00)
Changed Fix IPv6 session transactions
de8429f· lkk7 fix · INFERREDChanged merge app and request context
c2705ff· David LordChanged push preserved contexts in correct order
53b8f08· David LordChanged address mypy strict findings
6000e80· David LordChanged bump werkzeug 2.3.7
9f95502· David LordChanged bump werkzeug 2.3.7
5bb3027· David LordChanged werkzeug 2.3.3 compatibility
3fbfbad· David LordChanged update werkzeug
e1aedec· David LordChanged add __future__ annotations
44ffe6c· David LordChanged update test cookie handling for Werkzeug 2.3
04c2138· David LordChanged update requirements
d178653· David LordChanged add json provider interface
69f9845· David LordChanged Change _cv_req -> _cv_request
91044c4· pgjonesChanged update docs about contexts
e0dad45· David LordChanged remove uses of LocalStack
82c2e03· David LordChanged contexts no longer use LocalStack
d597db6· David LordChanged new debug/test preserve context implementation
84c7220· David LordChanged accurate type for __exit__
faaa559· David LordChanged overriding FlaskClient.open works with redirects
1be65b1· David LordChanged remove deprecated as_tuple parameter from test_client
aab064f· David LordChanged deprecate as_tuple
564bb27· David LordChanged Add initial type hints
7723709· pgjonesChanged update tests for new werkzeug client (#3827)
7a444c5· David LordChanged remove unused ref directives
171aabc· David LordChanged f-strings everywhere
2ae740d· David LordChanged apply pyupgrade
524fd0b· David LordChanged fix string concats left over by black
53c893b· David Lord fix · INFERREDChanged Convert make_test_environ_builder into class (fixes #3207)
976dfed· Daniel Pope fix · INFERREDChanged fix teardown bug in FlaskClient
a71c167· Fantix King fix · INFERREDChanged Reformat with black
025589e· David BaumgoldChanged support passing environ to test client (#2412)
59f7966· David LordChanged deprecate app session methods in favor of session_interface ref #1182
b9c8c9b· David LordChanged Default environ (#2047)
bd5e297· Michael RecachinasChanged Fix "with" formatting in doc
9f4c569· Benjamin DopplingerChanged Fix warnings and code styling in the doc
b81f720· Paulo BuChanged Context preserving is now part of Flask and not the test client. This fixes #326
c631613· Armin Ronacher fix · INFERREDChanged Fixed session loading in flask.testing.TestClient.session_transaction()
4dc1796· Michał Bartoszkiewicz fix · INFERREDChanged The test client now properly pops response contexts on __exit__
d49221b· Armin RonacherChanged Require that cookies are enabled in the test client for session transactions
c8ec453· Armin RonacherChanged The test client and test_request_context are now both using the same logic internally for creating the environ. Also they use APPLICATION_ROOT now.
e853a0f· Armin RonacherChanged Ensure that nobody can nest test client invocations
311ac0f· Armin RonacherChanged Implemented flask.testing.TestClient.session_transaction for quick session modifications in test environments.
a5da2c9· Armin RonacherChanged Better handling for `test_request_context` don't just append the port. Also implemented a proper initial environment to use with `Flask.test_app()` based on the application's configuration.
a327452· Pedro AlgarvioChanged Added a docstring
e5d8202· Armin RonacherBorn Added separate module for testing
df3f894· Armin Ronacher