7c7 < class TestUnitPythonProcman(unit.TestUnitControl): --- > class TestUnitPythonProcman(unit.TestUnitApplicationPython): 12,15c12 < def pids_for_process(self, process=None): < if process is None: < process = self.app_name < --- > def pids_for_process(self): 21c18 < for m in re.findall('.*' + process, output.decode()): --- > for m in re.findall('.*' + self.app_name, output.decode()): 29,36d25 < code, name = """ < < def application(env, start_response): < start_response('200', [('Content-Length', '0')]) < return [] < < """, 'py_app' < 37a27 > self.load('empty', self.app_name) 39,56d28 < self.python_application(name, code) < < self.conf({ < "listeners": { < "*:7080": { < "application": self.app_name < } < }, < "applications": { < self.app_name: { < "type": "python", < "processes": { "spare": 0 }, < "path": self.testdir + '/' + name, < "module": "wsgi" < } < } < }) <