summaryrefslogtreecommitdiffhomepage
path: root/test/test_python_basic.py
diff options
context:
space:
mode:
authorAndrey Zelenkov <zelenkov@nginx.com>2018-02-05 15:39:11 +0300
committerAndrey Zelenkov <zelenkov@nginx.com>2018-02-05 15:39:11 +0300
commit3faa154223d0e4013bcfc07d71cea5ed671dfdf8 (patch)
treee967006e711e43ab4ad870275784d3a12fe263a6 /test/test_python_basic.py
parentf7195e7016202a50eb8779154e95cdd1bbc58b0f (diff)
downloadunit-3faa154223d0e4013bcfc07d71cea5ed671dfdf8.tar.gz
unit-3faa154223d0e4013bcfc07d71cea5ed671dfdf8.tar.bz2
Tests: adjusted check_version()'s.
Diffstat (limited to '')
-rw-r--r--test/test_python_basic.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/test_python_basic.py b/test/test_python_basic.py
index ed0bd738..0c12242f 100644
--- a/test/test_python_basic.py
+++ b/test/test_python_basic.py
@@ -4,7 +4,10 @@ import unit
class TestUnitBasic(unit.TestUnitControl):
def setUpClass():
- unit.TestUnit().check_modules('python')
+ u = unit.TestUnit()
+
+ u.check_modules('python')
+ u.check_version('0.5')
conf_app = {
"app": {