diff options
author | Max Romanov <max.romanov@nginx.com> | 2021-11-09 15:48:44 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2021-11-09 15:48:44 +0300 |
commit | 506ec2b8258cfe03d0d7e3b19eb79d1075a6174c (patch) | |
tree | ec619b5e7d8ce86903922593ff43e63d1a2f1264 /test/test_python_procman.py | |
parent | e207415a78ae67b937faf7e5bcd6e5192993180a (diff) | |
download | unit-506ec2b8258cfe03d0d7e3b19eb79d1075a6174c.tar.gz unit-506ec2b8258cfe03d0d7e3b19eb79d1075a6174c.tar.bz2 |
Tests: app prototype related fixes.
Diffstat (limited to '')
-rw-r--r-- | test/test_python_procman.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_python_procman.py b/test/test_python_procman.py index 389d0747..a25b84ec 100644 --- a/test/test_python_procman.py +++ b/test/test_python_procman.py @@ -22,7 +22,9 @@ class TestPythonProcman(TestApplicationPython): output = subprocess.check_output(['ps', 'ax']) pids = set() - for m in re.findall('.*' + self.app_name, output.decode()): + for m in re.findall( + '.*unit: "' + self.app_name + '" application', output.decode() + ): pids.add(re.search(r'^\s*(\d+)', m).group(1)) return pids |