test_proxy_chunked.py (1506:b070370e07f8) test_proxy_chunked.py (1527:89bc2fef480b)
1import os
2import re
1import re
3import socket
4import select
2import select
3import socket
5import time
6
7from unit.applications.lang.python import TestApplicationPython
8
9
10class TestProxyChunked(TestApplicationPython):
11 prerequisites = {'modules': {'python': 'any'}}
12

--- 78 unchanged lines hidden (view full) ---

91 self.assertIn(
92 'success',
93 self.conf(
94 {
95 "listeners": {"*:7080": {"pass": "routes"},},
96 "routes": [
97 {
98 "action": {
4import time
5
6from unit.applications.lang.python import TestApplicationPython
7
8
9class TestProxyChunked(TestApplicationPython):
10 prerequisites = {'modules': {'python': 'any'}}
11

--- 78 unchanged lines hidden (view full) ---

90 self.assertIn(
91 'success',
92 self.conf(
93 {
94 "listeners": {"*:7080": {"pass": "routes"},},
95 "routes": [
96 {
97 "action": {
99 "proxy": "http://127.0.0.1:" + str(self.SERVER_PORT)
98 "proxy": "http://127.0.0.1:"
99 + str(self.SERVER_PORT)
100 }
101 }
102 ],
103 }
104 ),
105 'proxy initial configuration',
106 )
107

--- 142 unchanged lines hidden ---
100 }
101 }
102 ],
103 }
104 ),
105 'proxy initial configuration',
106 )
107

--- 142 unchanged lines hidden ---