summaryrefslogtreecommitdiffhomepage
path: root/test/test_python_environment.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_environment.py
parent7b839bf5da772d4bf61a3be95fbdbb6d4591ba63 (diff)
downloadunit-af24e4dec453af7e3dcb45347cb59bfcbc037843.tar.gz
unit-af24e4dec453af7e3dcb45347cb59bfcbc037843.tar.bz2
Tests: simplified module checking.
Diffstat (limited to 'test/test_python_environment.py')
-rw-r--r--test/test_python_environment.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/test_python_environment.py b/test/test_python_environment.py
index 8debadda..744f4947 100644
--- a/test/test_python_environment.py
+++ b/test/test_python_environment.py
@@ -2,8 +2,7 @@ from unit.applications.lang.python import TestApplicationPython
class TestPythonEnvironment(TestApplicationPython):
- def setUpClass():
- TestApplicationPython().check_modules('python')
+ prerequisites = ['python']
def test_python_environment_name_null(self):
self.load('environment')