diff options
author | Andrei Zeliankou <zelenkov@nginx.com> | 2020-04-03 01:49:18 +0100 |
---|---|---|
committer | Andrei Zeliankou <zelenkov@nginx.com> | 2020-04-03 01:49:18 +0100 |
commit | a49023229ec0a404665a711fbf35f6b3bf715825 (patch) | |
tree | 6b9050df0ea87e3d7cf4f707dd9a17311df41aa9 /test/python/upstreams | |
parent | d7aa514d6a586115f0b05d5d6465787da1fa9b6c (diff) | |
download | unit-a49023229ec0a404665a711fbf35f6b3bf715825.tar.gz unit-a49023229ec0a404665a711fbf35f6b3bf715825.tar.bz2 |
Tests: use "return" action in upstream tests.
Diffstat (limited to '')
-rw-r--r-- | test/python/upstreams/0/wsgi.py | 8 | ||||
-rw-r--r-- | test/python/upstreams/1/wsgi.py | 8 | ||||
-rw-r--r-- | test/python/upstreams/2/wsgi.py | 8 |
3 files changed, 0 insertions, 24 deletions
diff --git a/test/python/upstreams/0/wsgi.py b/test/python/upstreams/0/wsgi.py deleted file mode 100644 index 2c88979b..00000000 --- a/test/python/upstreams/0/wsgi.py +++ /dev/null @@ -1,8 +0,0 @@ -import time - -def application(env, start_response): - delay = int(env.get('HTTP_X_DELAY', 0)) - - start_response('200', [('Content-Length', '0'), ('X-Upstream', '0')]) - time.sleep(delay) - return [] diff --git a/test/python/upstreams/1/wsgi.py b/test/python/upstreams/1/wsgi.py deleted file mode 100644 index 5077bdb1..00000000 --- a/test/python/upstreams/1/wsgi.py +++ /dev/null @@ -1,8 +0,0 @@ -import time - -def application(env, start_response): - delay = int(env.get('HTTP_X_DELAY', 0)) - - start_response('200', [('Content-Length', '0'), ('X-Upstream', '1')]) - time.sleep(delay) - return [] diff --git a/test/python/upstreams/2/wsgi.py b/test/python/upstreams/2/wsgi.py deleted file mode 100644 index bb0ce797..00000000 --- a/test/python/upstreams/2/wsgi.py +++ /dev/null @@ -1,8 +0,0 @@ -import time - -def application(env, start_response): - delay = int(env.get('HTTP_X_DELAY', 0)) - - start_response('200', [('Content-Length', '0'), ('X-Upstream', '2')]) - time.sleep(delay) - return [] |