Deleted
Added
test_perl_application.py (2060:a1991578c62e) | test_perl_application.py (2066:242192963d93) |
---|---|
1import re 2 3import pytest 4from unit.applications.lang.perl import TestApplicationPerl 5 6 7class TestPerlApplication(TestApplicationPerl): 8 prerequisites = {'modules': {'perl': 'all'}} --- 89 unchanged lines hidden (view full) --- 98 99 assert ( 100 self.post(body='0123456789')['body'] == '0123456789' 101 ), 'input read parts' 102 103 def test_perl_application_input_buffered_read(self): 104 self.load('input_buffered_read') 105 | 1import re 2 3import pytest 4from unit.applications.lang.perl import TestApplicationPerl 5 6 7class TestPerlApplication(TestApplicationPerl): 8 prerequisites = {'modules': {'perl': 'all'}} --- 89 unchanged lines hidden (view full) --- 98 99 assert ( 100 self.post(body='0123456789')['body'] == '0123456789' 101 ), 'input read parts' 102 103 def test_perl_application_input_buffered_read(self): 104 self.load('input_buffered_read') 105 |
106 assert self.post(body='012345')['body'] == '012345', 'buffered read #1' |
|
106 assert ( | 107 assert ( |
107 self.post(body='012345')['body'] == '012345' 108 ), 'buffered read #1' 109 110 assert ( | |
111 self.post(body='9876543210')['body'] == '9876543210' 112 ), 'buffered read #2' 113 114 def test_perl_application_input_close(self): 115 self.load('input_close') 116 | 108 self.post(body='9876543210')['body'] == '9876543210' 109 ), 'buffered read #2' 110 111 def test_perl_application_input_close(self): 112 self.load('input_close') 113 |
114 assert self.post(body='012345')['body'] == '012345', 'input close #1' |
|
117 assert ( | 115 assert ( |
118 self.post(body='012345')['body'] == '012345' 119 ), 'input close #1' 120 121 assert ( | |
122 self.post(body='9876543210')['body'] == '9876543210' 123 ), 'input close #2' 124 125 @pytest.mark.skip('not yet') 126 def test_perl_application_input_read_offset(self): 127 self.load('input_read_offset') 128 129 assert self.post(body='0123456789')['body'] == '4567', 'read offset' --- 169 unchanged lines hidden --- | 116 self.post(body='9876543210')['body'] == '9876543210' 117 ), 'input close #2' 118 119 @pytest.mark.skip('not yet') 120 def test_perl_application_input_read_offset(self): 121 self.load('input_read_offset') 122 123 assert self.post(body='0123456789')['body'] == '4567', 'read offset' --- 169 unchanged lines hidden --- |