Files
nginx-unit/test/python/restart/longstart.py
Andrei Zeliankou 5a8337933d Tests: pathlib used where appropriate
Also fixed various pylint errors and style issues.
2024-01-15 15:48:58 +00:00

12 lines
201 B
Python

import os
import time
time.sleep(2)
def application(environ, start_response):
body = str(os.getpid()).encode()
start_response('200', [('Content-Length', str(len(body)))])
return [body]