From e53ce40c5854d95722cdfc198626fcd5aecbe563 Mon Sep 17 00:00:00 2001 From: Andrei Zeliankou Date: Mon, 31 Jan 2022 23:10:30 +0000 Subject: Tests: removed TestApplicationTLS.get_server_certificate(). distutils.version is replaced by packaging.version. Also minor style fixes. --- test/test_perl_application.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'test/test_perl_application.py') diff --git a/test/test_perl_application.py b/test/test_perl_application.py index 6803ff76..32d2b703 100644 --- a/test/test_perl_application.py +++ b/test/test_perl_application.py @@ -103,10 +103,7 @@ class TestPerlApplication(TestApplicationPerl): def test_perl_application_input_buffered_read(self): self.load('input_buffered_read') - assert ( - self.post(body='012345')['body'] == '012345' - ), 'buffered read #1' - + assert self.post(body='012345')['body'] == '012345', 'buffered read #1' assert ( self.post(body='9876543210')['body'] == '9876543210' ), 'buffered read #2' @@ -114,10 +111,7 @@ class TestPerlApplication(TestApplicationPerl): def test_perl_application_input_close(self): self.load('input_close') - assert ( - self.post(body='012345')['body'] == '012345' - ), 'input close #1' - + assert self.post(body='012345')['body'] == '012345', 'input close #1' assert ( self.post(body='9876543210')['body'] == '9876543210' ), 'input close #2' -- cgit