summaryrefslogtreecommitdiffhomepage
path: root/test/test_python_procman.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_python_procman.py')
-rw-r--r--test/test_python_procman.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/test_python_procman.py b/test/test_python_procman.py
index ff914fc8..ac403ce4 100644
--- a/test/test_python_procman.py
+++ b/test/test_python_procman.py
@@ -3,9 +3,8 @@ import subprocess
import time
import pytest
-
-from conftest import option
from unit.applications.lang.python import TestApplicationPython
+from unit.option import option
class TestPythonProcman(TestApplicationPython):
@@ -198,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'