[PATCH v6 06/15] test_static.py: formatting fix

Alejandro Colomar alx.manpages at gmail.com
Tue Feb 15 14:57:46 UTC 2022


Expand indentation, to allow for the addition of an "index"
configuration.  This only changes whitespace/indentation.

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>
Cc: Andrei Zeliankou <zelenkov at nginx.com>
Cc: Maxim Romanov <m.romanov 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 1d9c754..656bb7d 100644
--- a/test/test_static.py
+++ b/test/test_static.py
@@ -31,7 +31,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



More information about the unit mailing list