diff options
author | Andrei Zeliankou <zelenkov@nginx.com> | 2023-03-14 11:06:09 +0000 |
---|---|---|
committer | Andrei Zeliankou <zelenkov@nginx.com> | 2023-03-14 11:06:09 +0000 |
commit | 28bdeec614d21d0ff2309431354e8cc389aac208 (patch) | |
tree | 30427c1dd79e80d339cf7b56f67a017fcd67318a /test/test_perl_application.py | |
parent | fa81d7a11a7ba31ddded934eac8e58e7c801d44a (diff) | |
download | unit-28bdeec614d21d0ff2309431354e8cc389aac208.tar.gz unit-28bdeec614d21d0ff2309431354e8cc389aac208.tar.bz2 |
Tests: added Perl test with many responses using streaming body.
Diffstat (limited to 'test/test_perl_application.py')
-rw-r--r-- | test/test_perl_application.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test_perl_application.py b/test/test_perl_application.py index fe2db72e..3c327aa1 100644 --- a/test/test_perl_application.py +++ b/test/test_perl_application.py @@ -179,6 +179,11 @@ class TestPerlApplication(TestApplicationPerl): assert self.get()['body'] == 'body\n', 'body io file' + def test_perl_streaming_body_multiple_responses(self): + self.load('streaming_body_multiple_responses') + + assert self.get()['status'] == 200 + @pytest.mark.skip('not yet') def test_perl_application_syntax_error(self, skip_alert): skip_alert(r'PSGI: Failed to parse script') |