summaryrefslogtreecommitdiffhomepage
path: root/test/test_python_procman.py
diff options
context:
space:
mode:
authorAndrey Zelenkov <zelenkov@nginx.com>2019-04-09 16:14:42 +0300
committerAndrey Zelenkov <zelenkov@nginx.com>2019-04-09 16:14:42 +0300
commitaf24e4dec453af7e3dcb45347cb59bfcbc037843 (patch)
tree91c79759ac13e3b43f9856f1394217eef2feca81 /test/test_python_procman.py
parent7b839bf5da772d4bf61a3be95fbdbb6d4591ba63 (diff)
downloadunit-af24e4dec453af7e3dcb45347cb59bfcbc037843.tar.gz
unit-af24e4dec453af7e3dcb45347cb59bfcbc037843.tar.bz2
Tests: simplified module checking.
Diffstat (limited to 'test/test_python_procman.py')
-rw-r--r--test/test_python_procman.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/test_python_procman.py b/test/test_python_procman.py
index 461846e3..9292adcb 100644
--- a/test/test_python_procman.py
+++ b/test/test_python_procman.py
@@ -6,8 +6,7 @@ from unit.applications.lang.python import TestApplicationPython
class TestPythonProcman(TestApplicationPython):
- def setUpClass():
- TestApplicationPython().check_modules('python')
+ prerequisites = ['python']
def pids_for_process(self):
time.sleep(0.2)