summaryrefslogtreecommitdiffhomepage
path: root/test/test_asgi_application.py (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2021-04-08Tests: preserving unit.log when run without restart.Max Romanov1-4/+0
Introducing "unit.log.Log" class for "unit.log" file management. Moving "findall()" function into TestApplicationProto. Using "os.kill()" to send signals.
2021-04-05Tests: style.Andrei Zeliankou1-5/+8
2021-02-10Tests: increased timeout in wait_for_record().Andrei Zeliankou1-1/+1
2021-01-13Tests: style.Andrei Zeliankou1-1/+0
2020-12-08Tests: skip_alert() converted to the fixture.Andrei Zeliankou1-2/+1
2020-12-06Tests: options moved to the separate class.Andrei Zeliankou1-1/+1
This change is necessary to separate the logic and prevent possible circular dependency.
2020-11-10Python: supporting ASGI legacy protocol.Max Romanov1-0/+26
Introducing manual protocol selection for 'universal' apps and frameworks.
2020-11-10Tests: supporting instant app parameters in load().Max Romanov1-37/+13
2020-11-06Tests: fixing racing condition in ASGI threads test.Max Romanov1-5/+5
ASGI threads read all the requests from the queue before start processing it. This why test need to wait a little to let the ASGI thread start request processing and block. In virtual environment any thread or process may be delayed and only method to avoid racing is a reasonable sleep increase.
2020-11-05Tests: added Python threading tests.Max Romanov1-0/+41
2020-10-19Tests: fixed unit.log print.Andrei Zeliankou1-1/+2
2020-10-07Tests: minor fixes.Andrei Zeliankou1-15/+14
2020-10-01Tests: added ASGI HTTP applications.Max Romanov1-0/+403