[PATCH v4 06/12] test_static.py: formatting fix

Andrei Zeliankou zelenkov at nginx.com
Thu Jan 27 13:14:00 UTC 2022


Hi!

> On 23 Dec 2021, at 19:25, Alejandro Colomar <alx.manpages at gmail.com> wrote:
> 
> Expand indentation, to allow for the addition of an "index"
> configuration.  This only changes whitespace/indentation.


There is no need to move changes like this into the separate patch.

> 
> Signed-off-by: Alejandro Colomar <alx.manpages at gmail.com>
> Cc: Nginx Unit <unit at nginx.org>
> Cc: "Valentin V. Bartenev" <vbart at nginx.com>
> Cc: Zhidao HONG <z.hong at f5.com>
> Cc: Igor Sysoev <igor at sysoev.ru>
> Cc: Oisin Canty <o.canty at f5.com>
> ---
> test/test_static.py | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/test/test_static.py b/test/test_static.py
> index 80f4c61..76668a1 100644
> --- a/test/test_static.py
> +++ b/test/test_static.py
> @@ -30,7 +30,11 @@ class TestStatic(TestApplicationProto):
>             {
>                 "listeners": {"*:7080": {"pass": "routes"}},
>                 "routes": [
> -                    {"action": {"share": option.temp_dir + "/assets$uri"}}
> +                    {
> +                        "action": {
> +                            "share": option.temp_dir + "/assets$uri"
> +                        }
> +                    }
>                 ],
>                 "settings": {
>                     "http": {
> -- 
> 2.34.1
> 
> _______________________________________________
> unit mailing list
> unit at nginx.org
> https://mailman.nginx.org/mailman/listinfo/unit



More information about the unit mailing list