test_return.py (1596:b7e2d4d92624) test_return.py (1654:fc7d0578e124)
1import re
2
3from unit.applications.proto import TestApplicationProto
4
5
6class TestReturn(TestApplicationProto):
7 prerequisites = {}
8
9 def setup_method(self):
1import re
2
3from unit.applications.proto import TestApplicationProto
4
5
6class TestReturn(TestApplicationProto):
7 prerequisites = {}
8
9 def setup_method(self):
10 super().setup_method()
11
12 self._load_conf(
13 {
14 "listeners": {"*:7080": {"pass": "routes"}},
15 "routes": [{"action": {"return": 200}}],
16 "applications": {},
17 }
18 )
19

--- 163 unchanged lines hidden ---
10 self._load_conf(
11 {
12 "listeners": {"*:7080": {"pass": "routes"}},
13 "routes": [{"action": {"return": 200}}],
14 "applications": {},
15 }
16 )
17

--- 163 unchanged lines hidden ---