test_python_application.py (505:0e12b17e512d) test_python_application.py (507:fa714d76592b)
1import unittest
2import unit
3
4class TestUnitApplication(unit.TestUnitControl):
5
6 def setUpClass():
7 u = unit.TestUnit()
8

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

14 "listeners": {
15 "*:7080": {
16 "application": "app"
17 }
18 },
19 "applications": {
20 "app": {
21 "type": "python",
1import unittest
2import unit
3
4class TestUnitApplication(unit.TestUnitControl):
5
6 def setUpClass():
7 u = unit.TestUnit()
8

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

14 "listeners": {
15 "*:7080": {
16 "application": "app"
17 }
18 },
19 "applications": {
20 "app": {
21 "type": "python",
22 "workers": 1,
22 "processes": { "spare": 0 },
23 "path": self.testdir + '/' + name,
24 "module": "wsgi"
25 }
26 }
27 })
28
29 def test_python_application_simple(self):
30 code, name = """

--- 110 unchanged lines hidden ---
23 "path": self.testdir + '/' + name,
24 "module": "wsgi"
25 }
26 }
27 })
28
29 def test_python_application_simple(self):
30 code, name = """

--- 110 unchanged lines hidden ---