flask/flask
Michael Recachinas bd5e297aa9 Default environ (#2047)
* Add init to FlaskClient

This addresses #1467. The init in the subclass
can now take in `environ_base`, which will then get
passed to `make_test_environ_builder` and to
`EnvironBuilder` via keyword args.

This should provide the default environment capability
on `app.test_client()` init.

* Add kwarg `environ_base` to `make_test_environ_builder` call

This change now passes `environ_base` from either
`kwargs` in `FlaskClient.open` or `FlaskClient.environ_base`
if passed into the init.

* Fix assignment reference typo

* Add default `environ_base` to `FlaskClient.__init__`

* Set default kwargs for `environ_base` in `FlaskClient.open`

* Remove specific environ_base kwarg since its in kwargs

* Add docstring to FlaskClient detailing environ_base

* Document app.test_client default environ in CHANGES

* Re-word environ_base changes in FlaskClient docstring

* Add client.environ_base tests

* Mention preset default environ in `app.test_client`

* Add versionchanged directive to docstring in FlaskClient
2016-10-12 08:54:24 +02:00
..
ext Happy New Year 2015 2015-01-02 11:35:00 +09:00
__init__.py This is 0.11.2-dev 2016-06-07 18:23:09 +02:00
__main__.py Happy New Year 2015 2015-01-02 11:35:00 +09:00
_compat.py Fix PyPy3 support and add bug references 2016-06-13 20:33:57 +02:00
app.py Fix unbound error (#2039) 2016-09-25 18:25:54 +02:00
blueprints.py s/1.0/0.11/ in versionadded/versionchanged markers 2016-05-23 14:43:23 +02:00
cli.py Remove -a/--app from Quickstart documentation (#2046) 2016-10-01 18:45:22 +02:00
config.py improved documentation for config.from_object (#1870) 2016-06-02 15:40:59 -07:00
ctx.py Improve application context popping 2016-05-26 21:46:56 +02:00
debughelpers.py Happy New Year 2015 2015-01-02 11:35:00 +09:00
exthook.py Show line which caused the DeprecationWarning (#1831) 2016-05-29 14:51:05 -07:00
globals.py Happy New Year 2015 2015-01-02 11:35:00 +09:00
helpers.py make use of range requests if available in werkzeug (#2031) 2016-09-26 12:43:46 +02:00
json.py Fix #1911 (#1913) 2016-06-15 09:27:06 -07:00
logging.py Disable logger propagation by default 2016-08-25 15:41:46 +02:00
sessions.py s/1.0/0.11/ in versionadded/versionchanged markers 2016-05-23 14:43:23 +02:00
signals.py fix endline in the signal.py 2015-06-17 15:42:39 +02:00
templating.py Fast path for disabled template load explain. 2016-05-22 11:36:40 +02:00
testing.py Default environ (#2047) 2016-10-12 08:54:24 +02:00
views.py Fix typo in MethodView doc (#2028) 2016-09-18 20:24:46 -07:00
wrappers.py s/1.0/0.11/ in versionadded/versionchanged markers 2016-05-23 14:43:23 +02:00