test_python_basic.py (1119:1df3773af3e4) test_python_basic.py (1122:453858a43730)
1from unit.control import TestControl
2
3
4class TestPythonBasic(TestControl):
5 prerequisites = ['python']
6
7 conf_app = {
8 "app": {

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

195 self.assertIn(
196 'success',
197 self.conf(self.conf_app, 'applications'),
198 'listeners restore',
199 )
200
201 self.assertIn(
202 'success',
1from unit.control import TestControl
2
3
4class TestPythonBasic(TestControl):
5 prerequisites = ['python']
6
7 conf_app = {
8 "app": {

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

195 self.assertIn(
196 'success',
197 self.conf(self.conf_app, 'applications'),
198 'listeners restore',
199 )
200
201 self.assertIn(
202 'success',
203 self.conf({"*:7080": {"pass": "applications/app"}}, 'listeners'),
203 self.conf({"*:7081": {"pass": "applications/app"}}, 'listeners'),
204 'applications restore',
205 )
206
207
208if __name__ == '__main__':
209 TestPythonBasic.main()
204 'applications restore',
205 )
206
207
208if __name__ == '__main__':
209 TestPythonBasic.main()