summaryrefslogtreecommitdiffhomepage
path: root/test/test_python_procman.py
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2021-01-14 03:04:20 +0000
committerAndrei Zeliankou <zelenkov@nginx.com>2021-01-14 03:04:20 +0000
commitd43a84139d1adedbae8def67c8bbee09d8cf4581 (patch)
tree4e1b9ae1c6915e38fe0bf2de3d224cb9d1eb6c9b /test/test_python_procman.py
parent5d983ea762eba5fe26a07defbc09eeec8ecc5aeb (diff)
downloadunit-d43a84139d1adedbae8def67c8bbee09d8cf4581.tar.gz
unit-d43a84139d1adedbae8def67c8bbee09d8cf4581.tar.bz2
Tests: added missing checks for configuration results.
Diffstat (limited to 'test/test_python_procman.py')
-rw-r--r--test/test_python_procman.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_python_procman.py b/test/test_python_procman.py
index bfc218a9..ac403ce4 100644
--- a/test/test_python_procman.py
+++ b/test/test_python_procman.py
@@ -197,6 +197,6 @@ class TestPythonProcman(TestApplicationPython):
), 'max zero'
def stop_all(self):
- self.conf({"listeners": {}, "applications": {}})
+ assert 'success' in self.conf({"listeners": {}, "applications": {}})
assert len(self.pids_for_process()) == 0, 'stop all'