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

Alejandro Colomar alx.manpages at gmail.com
Thu Dec 23 19:25:03 UTC 2021


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>
---
 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



More information about the unit mailing list