test_upstreams_rr.py (1730:44912af5b3e6) test_upstreams_rr.py (2055:84cb1ec94bae)
1import os
2import re
3
4from unit.applications.lang.python import TestApplicationPython
5from unit.option import option
6
7
8class TestUpstreamsRR(TestApplicationPython):

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

269 },
270 {
271 "match": {"destination": "*:7082"},
272 "action": {"return": 201},
273 },
274 ],
275 "applications": {
276 "delayed": {
1import os
2import re
3
4from unit.applications.lang.python import TestApplicationPython
5from unit.option import option
6
7
8class TestUpstreamsRR(TestApplicationPython):

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

269 },
270 {
271 "match": {"destination": "*:7082"},
272 "action": {"return": 201},
273 },
274 ],
275 "applications": {
276 "delayed": {
277 "type": "python",
277 "type": self.get_application_type(),
278 "processes": {"spare": 0},
279 "path": option.test_dir + "/python/delayed",
280 "working_directory": option.test_dir
281 + "/python/delayed",
282 "module": "wsgi",
283 }
284 },
285 },

--- 192 unchanged lines hidden ---
278 "processes": {"spare": 0},
279 "path": option.test_dir + "/python/delayed",
280 "working_directory": option.test_dir
281 + "/python/delayed",
282 "module": "wsgi",
283 }
284 },
285 },

--- 192 unchanged lines hidden ---