1import re 2import time 3import subprocess 4import unittest 5from unit.applications.lang.python import TestApplicationPython 6 7 8class TestPythonProcman(TestApplicationPython):
| 1import re 2import time 3import subprocess 4import unittest 5from unit.applications.lang.python import TestApplicationPython 6 7 8class TestPythonProcman(TestApplicationPython):
|
9 prerequisites = {'modules': ['python']}
| 9 prerequisites = {'modules': {'python': 'any'}}
|
10 11 def setUp(self): 12 super().setUp() 13 14 self.app_name = "app-" + self.testdir.split('/')[-1] 15 self.app_proc = 'applications/' + self.app_name + '/processes' 16 self.load('empty', self.app_name) 17
--- 208 unchanged lines hidden --- | 10 11 def setUp(self): 12 super().setUp() 13 14 self.app_name = "app-" + self.testdir.split('/')[-1] 15 self.app_proc = 'applications/' + self.app_name + '/processes' 16 self.load('empty', self.app_name) 17
--- 208 unchanged lines hidden --- |