From 28bdeec614d21d0ff2309431354e8cc389aac208 Mon Sep 17 00:00:00 2001 From: Andrei Zeliankou Date: Tue, 14 Mar 2023 11:06:09 +0000 Subject: Tests: added Perl test with many responses using streaming body. --- test/test_perl_application.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/test_perl_application.py') 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') -- cgit