diff --git a/falcon/testing/client.py b/falcon/testing/client.py index da4816f7a..8be0a9af8 100644 --- a/falcon/testing/client.py +++ b/falcon/testing/client.py @@ -1563,11 +1563,11 @@ def simulate_post(app: Callable[..., Any], path: str, **kwargs: Any) -> Result: overrides `body` and sets the Content-Type header to ``'application/json'``, overriding any value specified by either the `content_type` or `headers` arguments. - msgpack(Msgpack serializable): A Msgpack document to serialize as the - body of the request (default: ``None``). If specified, - overrides `body` and sets the Content-Type header to - ``'application/msgpack'``, overriding any value specified by - either the `content_type` or `headers` arguments. + msgpack(Msgpack serializable): A Msgpack document to serialize as the + body of the request (default: ``None``). If specified, + overrides `body` and sets the Content-Type header to + ``'application/msgpack'``, overriding any value specified by + either the `content_type` or `headers` arguments. file_wrapper (callable): Callable that returns an iterable, to be used as the value for *wsgi.file_wrapper* in the WSGI environ (default: ``None``). This can be used to test @@ -1679,11 +1679,11 @@ def simulate_put(app: Callable[..., Any], path: str, **kwargs: Any) -> Result: overrides `body` and sets the Content-Type header to ``'application/json'``, overriding any value specified by either the `content_type` or `headers` arguments. - msgpack(Msgpack serializable): A Msgpack document to serialize as the - body of the request (default: ``None``). If specified, - overrides `body` and sets the Content-Type header to - ``'application/msgpack'``, overriding any value specified by - either the `content_type` or `headers` arguments. + msgpack(Msgpack serializable): A Msgpack document to serialize as the + body of the request (default: ``None``). If specified, + overrides `body` and sets the Content-Type header to + ``'application/msgpack'``, overriding any value specified by + either the `content_type` or `headers` arguments. file_wrapper (callable): Callable that returns an iterable, to be used as the value for *wsgi.file_wrapper* in the WSGI environ (default: ``None``). This can be used to test @@ -1884,11 +1884,11 @@ def simulate_patch(app: Callable[..., Any], path: str, **kwargs: Any) -> Result: overrides `body` and sets the Content-Type header to ``'application/json'``, overriding any value specified by either the `content_type` or `headers` arguments. - msgpack(Msgpack serializable): A Msgpack document to serialize as the - body of the request (default: ``None``). If specified, - overrides `body` and sets the Content-Type header to - ``'application/msgpack'``, overriding any value specified by - either the `content_type` or `headers` arguments. + msgpack(Msgpack serializable): A Msgpack document to serialize as the + body of the request (default: ``None``). If specified, + overrides `body` and sets the Content-Type header to + `'application/msgpack'``, overriding any value specified by + either the `content_type` or `headers` arguments. host(str): A string to use for the hostname part of the fully qualified request URL (default: 'falconframework.org') remote_addr (str): A string to use as the remote IP address for the @@ -1995,11 +1995,11 @@ def simulate_delete(app: Callable[..., Any], path: str, **kwargs: Any) -> Result overrides `body` and sets the Content-Type header to ``'application/json'``, overriding any value specified by either the `content_type` or `headers` arguments. - msgpack(Msgpack serializable): A Msgpack document to serialize as the - body of the request (default: ``None``). If specified, - overrides `body` and sets the Content-Type header to - ``'application/msgpack'``, overriding any value specified by - either the `content_type` or `headers` arguments. + msgpack(Msgpack serializable): A Msgpack document to serialize as the + body of the request (default: ``None``). If specified, + overrides `body` and sets the Content-Type header to + ``'application/msgpack'``, overriding any value specified by + either the `content_type` or `headers` arguments. host(str): A string to use for the hostname part of the fully qualified request URL (default: 'falconframework.org') remote_addr (str): A string to use as the remote IP address for the