class EnvironBuilder(werkzeug.test.EnvironBuilder):
~werkzeug.test.EnvironBuilder
, that takes defaults from the
application.Parameters | |
app | The Flask application to configure the environment from. |
path | URL path being requested. |
base_url | Base URL where the app is being served, which
path is relative to. If not given, built from
PREFERRED_URL_SCHEME , subdomain,
SERVER_NAME , and APPLICATION_ROOT . |
subdomain | Subdomain name to append to SERVER_NAME . |
url_scheme | Scheme to use instead of
PREFERRED_URL_SCHEME . |
json | If given, this is serialized as JSON and passed as data. Also defaults content_type to application/json. |
*args | other positional arguments passed to
~werkzeug.test.EnvironBuilder . |
**kwargs | other keyword arguments passed to
~werkzeug.test.EnvironBuilder . |
Method | __init__ |
Undocumented |
Method | json_dumps |
Serialize obj to a JSON-formatted string. |
Instance Variable | app |
Undocumented |
Undocumented
Parameters | |
app:Flask | Undocumented |
path:str | Undocumented |
base_url:t.Optional[ | Undocumented |
subdomain:t.Optional[ | Undocumented |
url_scheme:t.Optional[ | Undocumented |
*args:t.Any | Undocumented |
**kwargs:t.Any | Undocumented |